fix(providers): honor Codex proxy config consistently

This commit is contained in:
chengyongru authored and chengyongru committed 2026-07-15 20:01:48 +08:00
1 parent ba86dccc8d
commit 681edfa6f3
6 files changed
+145 -3

No files matched your search

+1
View File
@@ -129,6 +129,7 @@ class ImageGenerationTool(Tool):
"api_base": provider.api_base if provider else None,
"extra_headers": provider.extra_headers if provider else None,
"extra_body": provider.extra_body if provider else None,
"proxy": provider.proxy if provider else None,
}
return cls(**kwargs)