Skip to content

chore: remove Gpt4xModelConstants and move Code Driver agent to gpt-6-luna - #1521

Merged
yileicn merged 1 commit into
SciSharp:masterfrom
yileicn:chore/remove-gpt4x-model-constants
Nov 26, 2026
Merged

yileicn merged 1 commit into
SciSharp:masterfrom
yileicn:chore/remove-gpt4x-model-constants

Conversation

@yileicn

@yileicn yileicn commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

Why

GPT-4o models shut down on 2027-01-14.

Changes

  • Remove Gpt4xModelConstants. Nothing in BotSharp references it any more; the hardcoded GPT-4o fallbacks were removed earlier.
  • Move the Code Driver built-in agent from gpt-4o to gpt-6-luna, the model the other built-in agents already use.

Note for hosts

Hosts that still reference Gpt4xModelConstants must switch to their own model names before taking this change.

🤖 Generated with Claude Code

…-luna

Nothing references the GPT-4o constants any more, and GPT-4o shuts down
on 2027-01-14. The Code Driver built-in agent was the last one still on
gpt-4o.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@qodo-code-review

Copy link
Copy Markdown
Contributor

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@yileicn yileicn changed the title chore: remove Gpt4xModelConstants and move Code Driver agent to gpt-6… chore: remove Gpt4xModelConstants and move Code Driver agent to gpt-6-luna Nov 26, 2026
@yileicn

yileicn commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

Review

No issues found.

  • No references to Gpt4xModelConstants remain in the repository (excluding build output).
  • Code Driver agent: gpt-6-luna is the model the Fallback and File Assistant built-in agents already use. The sample src/WebStarter/appsettings.json registers neither gpt-4o nor gpt-6-luna under the openai provider (its gpt-4o entries belong to litellm and daoxe), so a standalone run of the sample host behaves the same as before.

🤖 Generated with Claude Code

@yileicn

yileicn commented Nov 26, 2026

Copy link
Copy Markdown
Member Author

✅ AegisCode Code Review Report: Pass

No counted findings.
Full report · review 12043 · commit d42852da

Unit Tests: not run (No unit tests were found)

Test Coverage: Failed

@yuyixg

yuyixg commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

reviewed

@yileicn
yileicn merged commit cc6b59c into SciSharp:master Nov 26, 2026
4 checks passed
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.

2 participants