We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7afd05 commit f2099c4Copy full SHA for f2099c4
llm/responses.py
@@ -384,18 +384,20 @@ class _SharedResponses:
384
model_id: str
385
api_base: str
386
can_stream: bool = True
387
- supports_schema: bool = False
388
- supports_tools: bool = True
389
390
def __init__(
391
self,
392
model_id: str,
393
api_base: Optional[str] = None,
394
key: Optional[str] = None,
+ supports_schema: bool = False,
+ supports_tools: bool = True,
395
):
396
self.model_id = model_id
397
self.api_base = api_base or "https://api.openai.com/v1"
398
self.key = key
399
+ self.supports_schema = supports_schema
400
+ self.supports_tools = supports_tools
401
402
def __str__(self) -> str:
403
return f"OpenResponses: {self.model_id}"
0 commit comments