You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to mimic it by using openai compatible gemini api but it resulted in 404 error .. what am i doing wrong
aider --openai-api-base https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:generate --model openai/gemini-1.5-pro-latest sample1.c
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Warning for openai/gemini-1.5-pro-latest: Unknown context window size and costs, using sane defaults.
Did you mean one of these?
gemini/gemini-1.5-pro-latest
You can skip this check with --no-show-model-warnings
Aider v0.69.1
Model: openai/gemini-1.5-pro-latest with whole edit format
Git repo: .git with 1 files
Repo-map: disabled
Added sample1.c to the chat.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sample1.c
Issue
how can I add support for custom llm api
I tried to mimic it by using openai compatible gemini api but it resulted in 404 error .. what am i doing wrong
aider --openai-api-base https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-pro-latest:generate --model openai/gemini-1.5-pro-latest sample1.c
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Warning for openai/gemini-1.5-pro-latest: Unknown context window size and costs, using sane defaults.
Did you mean one of these?
You can skip this check with --no-show-model-warnings
https://aider.chat/docs/llms/warnings.html
Open documentation url for more info? (Y)es/(N)o/(D)on't ask again [Yes]: n
Aider v0.69.1
Model: openai/gemini-1.5-pro-latest with whole edit format
Git repo: .git with 1 files
Repo-map: disabled
Added sample1.c to the chat.
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
sample1.c
litellm.NotFoundError: NotFoundError: OpenAIException - Error code: 404
Version and model info
No response
The text was updated successfully, but these errors were encountered: