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

This commit is contained in:
Reinier van der Leer
2024-11-25 16:41:50 +01:00
committed by GitHub
parent f00654cb2c
commit 464b5309d7

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,