Skip to content

Commit

Permalink
Fix for using claude model with openai
Browse files Browse the repository at this point in the history
  • Loading branch information
mikejar committed Jan 12, 2025
1 parent 2e9a3ee commit 512ddce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assistants/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ async def create_assistant_and_thread(

if environment.DEFAULT_MODEL.startswith("claude-"):
# We can also use Claude as the default model
assistant = Completion(model=environment.DEFAULT_MODEL)
assistant = Claude(model=environment.DEFAULT_MODEL)
thread = None # The Threads API is only available when using the OpenAI Assistants API
if args.continue_thread:
await assistant.start()
Expand Down

0 comments on commit 512ddce

Please sign in to comment.