feat: Enhance OpenAI provider configuration with extraBody support and apiType validation
This commit is contained in:
1 parent
d472595417
commit
c433d60681
9 files changed
+230
-29
No files matched your search
@@ -98,7 +98,7 @@ def _make_provider_core(
|
||||
extra_headers=p.extra_headers if p else None,
|
||||
spec=spec,
|
||||
extra_body=p.extra_body if p else None,
|
||||
api_type=p.api_type if p else "auto",
|
||||
api_type=p.api_type if p and provider_name == "openai" else "auto",
|
||||
)
|
||||
|
||||
provider.generation = resolved.to_generation_settings()
|
||||
|
||||
Reference in new issue
Block a user