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
@@ -665,6 +665,7 @@ mod tests {
model: model.to_string(),
models: vec![],
api_style: AiApiStyle::AnthropicMessages,
custom_headers: Default::default(),
proxy_enabled: false,
proxy_url: String::new(),
enable_thinking: false,