Skip to content

Commit

Permalink
fixed function name
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Nov 6, 2024
1 parent 7f6bea4 commit d9ed54f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm/default_plugins/openai_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ async def execute(self, prompt, stream, response, conversation=None):
)
response.response_json = remove_dict_none_values(completion.model_dump())
yield completion.choices[0].message.content
response._prompt_json = redact_data_urls({"messages": messages})
response._prompt_json = redact_data({"messages": messages})


class Completion(Chat):
Expand Down

0 comments on commit d9ed54f

Please sign in to comment.