merlyn/server/utils/agents/aibitat/providers
Mike Lambert 9d242bc053
Add User-Agent header for Anthropic API calls (#5174)
* Add User-Agent header for Anthropic API calls

Passes User-Agent: AnythingLLM/{version} to the Anthropic SDK
so Anthropic can identify traffic from AnythingLLM.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* remove test, simplify header default

* unset change to spread

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-03-23 15:19:33 -07:00
..
helpers Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
ai-provider.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
anthropic.js Add User-Agent header for Anthropic API calls (#5174) 2026-03-23 15:19:33 -07:00
apipie.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
azure.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
bedrock.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
cohere.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
cometapi.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
deepseek.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
dellProAiStudio.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
dockerModelRunner.js Support Agent stream metric reporting (#5197) 2026-03-12 12:50:02 -07:00
fireworksai.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
foundry.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
gemini.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
genericOpenAi.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
giteeai.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
groq.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
index.js Lemonade integration (#5077) 2026-02-27 11:02:38 -08:00
koboldcpp.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
lemonade.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
litellm.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
lmstudio.js Support Agent stream metric reporting (#5197) 2026-03-12 12:50:02 -07:00
localai.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
mistral.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
moonshotAi.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
novita.js Support Agent stream metric reporting (#5197) 2026-03-12 12:50:02 -07:00
nvidiaNim.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
ollama.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
openai.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
openrouter.js Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
perplexity.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
ppio.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
privatemode.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
sambanova.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
textgenwebui.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
togetherai.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
xai.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
zai.js Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00