Skip to content

Commit

Permalink
added self
Browse files Browse the repository at this point in the history
  • Loading branch information
tcollins2011 committed Oct 23, 2024
1 parent a359168 commit 6bda402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/webapps/galaxy/api/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def query(self, query: ChatPayload, trans: ProvidesUserContext = DependsOnTrans)
log.debug(f"CHATGPTmessages: {messages}")

response = openai.chat.completions.create(
model= config.openai_chat_model,
model=self.config.openai_chat_model,
messages=messages,
)
print(response)
Expand Down

0 comments on commit 6bda402

Please sign in to comment.