Skip to content

Commit

Permalink
fix(forge): Fix double model kwarg error in `AnthropicProvider.crea…
Browse files Browse the repository at this point in the history
…te_chat_completion(..)` (#8666)
  • Loading branch information
Pwuts authored Nov 25, 2024
1 parent f00654c commit 464b530
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion classic/forge/forge/llm/providers/anthropic.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ async def create_chat_completion(
"""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,
Expand Down

0 comments on commit 464b530

Please sign in to comment.