fix(forge): Fix double `model` kwarg error in `AnthropicProvider.create_chat_completion(..)` (#8666)

pull/8358/head^2
Reinier van der Leer 2024-11-25 16:41:50 +01:00 committed by GitHub
parent f00654cb2c
commit 464b5309d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 1 deletions

View File

@ -180,7 +180,6 @@ class AnthropicProvider(BaseChatModelProvider[AnthropicModelName, AnthropicSetti
"""Create a completion using the Anthropic API."""
anthropic_messages, completion_kwargs = self._get_chat_completion_args(
prompt_messages=model_prompt,
model=model_name,
functions=functions,
max_output_tokens=max_output_tokens,
**kwargs,