Skip to content

Commit

Permalink
refactor: Remove commented out code in LLMFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrotank41 committed Sep 28, 2024
1 parent 69aab78 commit 29c3eb6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions ava_mosaic_ai/llm_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,4 @@ def create_completion(
"response_model": response_model,
"messages": messages,
}
# metadata = kwargs.get("metadata", None)
# client_with_metadata = self.client.with_options(metadata={"_user": "user_12345", "custom_field": "custom_value"})
# if metadata is not None:
# return client_with_metadata.chat.completions.create(**completion_params)
return self.client.chat.completions.create(**completion_params)

0 comments on commit 29c3eb6

Please sign in to comment.