Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

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

Reinier van der Leer464b5309d71b
diff --git a/classic/forge/forge/llm/providers/anthropic.py b/classic/forge/forge/llm/providers/anthropic.py
index 3faf1262ae..9810e045de 100644
--- a/classic/forge/forge/llm/providers/anthropic.py
+++ b/classic/forge/forge/llm/providers/anthropic.py
@@ -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,