Repository navigation
feat(status): name the active LLM provider, model and endpoint - #1498
Conversation
Status reported the LLM only as "llm" or "noop", and the status page printed
that word as the LLM row. The provider is chosen by key-detection order, so
with several keys set an operator could not see which client, model and
endpoint is in use. Add provider.route ("openai · <model> · openrouter.ai")
and show it on the page. provider.llm keeps its values for the viewer and CLI.
Signed-off-by: Rex57 <203883624+Rex57@users.noreply.github.com>
Signed-off-by: Rex57 <203883624+Rex57@users.noreply.github.com>
|
@Rex57 is attempting to deploy a commit to the rohitg00's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to The status report and page now identify the configured LLM route when available. No concrete merge-blocking issue is evident; the change is ready for normal checks. Pre-merge checks |
|
|
@Rex57 Please resolve conflicts |
Resolve the conflicts in the generated stats files by taking main's copies and running npm run docs:sync again. Signed-off-by: Rex57 <203883624+Rex57@users.noreply.github.com>
|
Resolved: merged |
Summary
Closes #1487.
GET /agentmemory/statusreported the LLM provider only as"llm"/"noop", and the status page printed that word as the LLM row. The provider is picked by key-detection order (OpenAI → MiniMax → Anthropic → Gemini → OpenRouter), so with several keys set an operator could not tell which client, model and endpoint is billed.Status now carries
provider.route, built from the loaded provider config:custom base URL, so nothing from the setting is echoed.routeisnullwithout an LLM.provider.llmkeeps its"llm"/"noop"values, because the viewer andagentmemory statuscompare against them.This touches the same status block as #1497 but at different lines; either can merge first.
Checks
test/llm-route.test.ts: provider + model + host, no base URL, unparsable base URL, nooptest/status.test.ts: route in the report and on the page,nullfor noopnpm run build,npm run skills:gen,npm run docs:sync,npm run skills:checknpm test: 2600 passed, 4 skippedSummary by CodeRabbit