Skip to content

refactor: multi-provider LLM routing - GPT-5.5/Sonnet 4.6/Gemini 3.1#98

Closed
fukukei23 wants to merge 1 commit into
mainfrom
refactor/d-task-multi-provider-llm
Closed

refactor: multi-provider LLM routing - GPT-5.5/Sonnet 4.6/Gemini 3.1#98
fukukei23 wants to merge 1 commit into
mainfrom
refactor/d-task-multi-provider-llm

Conversation

@fukukei23
Copy link
Copy Markdown
Owner

Summary

  • NexusCoreのLLMルーティングをGLM/MiniMax-onlyからマルチプロバイダー構成に移行
  • 品質ティア(GPT-5.5, Sonnet 4.6, Gemini 3.1 Pro)+ 軽量ティア(GLM-5.1, MiniMax M2.7)の2層ルーティング
  • 全8プロバイダークラスを有効化、9プロファイル登録、タスクマップ全面更新

変更ファイル(14 files, +505/-386)

コア(5ファイル)

  • providers/__init__.py, provider_factory.py, routing_policy.py — プロバイダー有効化
  • llm_profiles.py — 9プロファイル登録(GLM-4-Plus→GLM-5.1更新、glm_codex/glm_nano廃止)
  • task_model_map.py — 品質/軽量ティアのタスク振り分け

ドキュメント(5ファイル)

  • README.md, ARCHITECTURE_CORE.md, NEXUSCORE_SRS.md, 03_Development_Roadmap.md, codex_instruction_manifest.md

テスト・設定(4ファイル)

  • test_llm_profiles_comprehensive.py, test_task_model_map_comprehensive.py
  • config.py, .env.template

Test plan

  • D-task tests: 100 passed, 0 failures
  • 全プロファイルがprofile_to_model_name()で正しくvendor:model形式に変換される
  • 品質ティアタスクがOpenAI/Anthropicプロファイルを使用
  • 軽量ティアタスクがGLM/MiniMaxプロファイルを使用
  • レガシータスクエイリアスのチェーンが正常動作

🤖 Generated with Claude Code

…i 3.1

Replace GLM/MiniMax-only routing with multi-provider architecture:
- Quality tier: GPT-5.5 (code generation), Sonnet 4.6 (review/design),
  Gemini 3.1 Pro (secondary analysis)
- Lightweight tier: GLM-5.1 (general/chat), MiniMax M2.7 (analytical)
- Enable all 8 provider classes in provider factory
- Update routing policy to recognize openai/anthropic/google vendors
- Add 9 profile registry entries replacing old GLM-4-Plus profiles
- Update task model map with quality/lightweight tier assignments
- Update docs (README, SRS, architecture, roadmap, codex manifest)
- Update tests for multi-provider assertions (100 passed)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@fukukei23
Copy link
Copy Markdown
Owner Author

Closing: main has diverged significantly (92+ commits of refactoring). Merge conflicts in most files. Will re-implement needed tests on current main when NexusCore becomes active again.

@fukukei23 fukukei23 closed this May 21, 2026
@fukukei23 fukukei23 deleted the refactor/d-task-multi-provider-llm branch May 21, 2026 20:14
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