mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(agent): support full context length resolution for direct Gemini API endpoints (#3876)
* add .aac audio file format support to transcription tool * fix(agent): support full context length resolution for direct Gemini API endpoints Add generativelanguage.googleapis.com to _URL_TO_PROVIDER so direct Gemini API users get correct 1M+ context length instead of the 128K unknown-proxy fallback. Co-authored-by: bb873 <bb873@users.noreply.github.com> --------- Co-authored-by: Adrian Scott <adrian@adrianscott.com> Co-authored-by: bb873 <bb873@users.noreply.github.com>
This commit is contained in:
parent
227601c200
commit
1c900c45e3
1 changed files with 1 additions and 0 deletions
|
|
@ -171,6 +171,7 @@ _URL_TO_PROVIDER: Dict[str, str] = {
|
|||
"dashscope.aliyuncs.com": "alibaba",
|
||||
"dashscope-intl.aliyuncs.com": "alibaba",
|
||||
"openrouter.ai": "openrouter",
|
||||
"generativelanguage.googleapis.com": "google",
|
||||
"inference-api.nousresearch.com": "nous",
|
||||
"api.deepseek.com": "deepseek",
|
||||
"api.githubcopilot.com": "copilot",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue