feat(ai): support custom headers for api services

This commit is contained in:
二丫讲梵 authored and GitHub committed 2026-08-31 23:47:14 +08:00
1 parent ba11e4be8d
commit 42c0dc7f89
27 files changed
+299 -10

No files matched your search

+1
View File
@@ -527,6 +527,7 @@ mod tests {
model: model.to_string(),
models: Vec::new(),
api_style: AiApiStyle::Completions,
custom_headers: Default::default(),
proxy_enabled: false,
proxy_url: String::new(),
enable_thinking: true,