Fixed some tool use errors
This commit is contained in:
@@ -647,6 +647,9 @@ class AnthropicProvider(AIProvider):
|
|||||||
"description": model.description,
|
"description": model.description,
|
||||||
"context_length": model.context_length,
|
"context_length": model.context_length,
|
||||||
"pricing": model.pricing,
|
"pricing": model.pricing,
|
||||||
|
"supported_parameters": model.supported_parameters,
|
||||||
|
"input_modalities": model.input_modalities,
|
||||||
|
"output_modalities": model.output_modalities,
|
||||||
}
|
}
|
||||||
for model in models
|
for model in models
|
||||||
]
|
]
|
||||||
@@ -669,5 +672,8 @@ class AnthropicProvider(AIProvider):
|
|||||||
"description": model.description,
|
"description": model.description,
|
||||||
"context_length": model.context_length,
|
"context_length": model.context_length,
|
||||||
"pricing": model.pricing,
|
"pricing": model.pricing,
|
||||||
|
"supported_parameters": model.supported_parameters,
|
||||||
|
"input_modalities": model.input_modalities,
|
||||||
|
"output_modalities": model.output_modalities,
|
||||||
}
|
}
|
||||||
return None
|
return None
|
||||||
|
|||||||
@@ -397,6 +397,9 @@ class OllamaProvider(AIProvider):
|
|||||||
"description": model.description,
|
"description": model.description,
|
||||||
"context_length": model.context_length,
|
"context_length": model.context_length,
|
||||||
"pricing": model.pricing,
|
"pricing": model.pricing,
|
||||||
|
"supported_parameters": model.supported_parameters,
|
||||||
|
"input_modalities": model.input_modalities,
|
||||||
|
"output_modalities": model.output_modalities,
|
||||||
}
|
}
|
||||||
for model in models
|
for model in models
|
||||||
]
|
]
|
||||||
@@ -419,5 +422,8 @@ class OllamaProvider(AIProvider):
|
|||||||
"description": model.description,
|
"description": model.description,
|
||||||
"context_length": model.context_length,
|
"context_length": model.context_length,
|
||||||
"pricing": model.pricing,
|
"pricing": model.pricing,
|
||||||
|
"supported_parameters": model.supported_parameters,
|
||||||
|
"input_modalities": model.input_modalities,
|
||||||
|
"output_modalities": model.output_modalities,
|
||||||
}
|
}
|
||||||
return None
|
return None
|
||||||
|
|||||||
@@ -604,6 +604,9 @@ class OpenAIProvider(AIProvider):
|
|||||||
"description": model.description,
|
"description": model.description,
|
||||||
"context_length": model.context_length,
|
"context_length": model.context_length,
|
||||||
"pricing": model.pricing,
|
"pricing": model.pricing,
|
||||||
|
"supported_parameters": model.supported_parameters,
|
||||||
|
"input_modalities": model.input_modalities,
|
||||||
|
"output_modalities": model.output_modalities,
|
||||||
}
|
}
|
||||||
for model in models
|
for model in models
|
||||||
]
|
]
|
||||||
@@ -626,5 +629,8 @@ class OpenAIProvider(AIProvider):
|
|||||||
"description": model.description,
|
"description": model.description,
|
||||||
"context_length": model.context_length,
|
"context_length": model.context_length,
|
||||||
"pricing": model.pricing,
|
"pricing": model.pricing,
|
||||||
|
"supported_parameters": model.supported_parameters,
|
||||||
|
"input_modalities": model.input_modalities,
|
||||||
|
"output_modalities": model.output_modalities,
|
||||||
}
|
}
|
||||||
return None
|
return None
|
||||||
|
|||||||
Reference in New Issue
Block a user