Skip to content

fix: align default LLM model with registry#637

Open
wuyua9 wants to merge 1 commit into
virattt:mainfrom
wuyua9:devb/default-llm-model-registry
Open

fix: align default LLM model with registry#637
wuyua9 wants to merge 1 commit into
virattt:mainfrom
wuyua9:devb/default-llm-model-registry

Conversation

@wuyua9

@wuyua9 wuyua9 commented May 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a shared DEFAULT_MODEL_NAME for the checked-in API model registry
  • replace stale gpt-4.1 defaults in backend request schemas, backtesting service, CLI run path, and call_llm fallback with the registered default
  • update the frontend default selector and add a regression test so runtime defaults cannot drift away from api_models.json

Notes

This intentionally does not change the OPENAI/OpenAI provider fallback because that is already covered by #511.

Tests

  • python3 -m pytest tests/test_llm_default_model.py -q
  • git diff --check origin/main...HEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant