Skip to content

Commit

Permalink
chore: misc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedantsahai18 committed Jan 8, 2025
1 parent 253c732 commit 5d77d81
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions agents-api/agents_api/clients/litellm.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ async def aembedding(
custom_api_key: str | None = None,
**settings,
) -> list[list[float]]:
# Temporarily commented out (causes errors when using voyage/voyage-3)
# if not custom_api_key:
# model = f"openai/{model}" # FIXME: Is this still needed for litellm?
if not custom_api_key:
model = f"openai/{model}" # This is needed for litellm

input = (
[inputs]
Expand Down

0 comments on commit 5d77d81

Please sign in to comment.