Skip to content

feat: add GPT-5.5 model support#1489

Open
Hansen1018 wants to merge 54 commits into
NoFxAiOS:devfrom
Hansen1018:feat/add-gpt-5-5
Open

feat: add GPT-5.5 model support#1489
Hansen1018 wants to merge 54 commits into
NoFxAiOS:devfrom
Hansen1018:feat/add-gpt-5-5

Conversation

@Hansen1018
Copy link
Copy Markdown
Contributor

@Hansen1018 Hansen1018 commented Apr 24, 2026

Summary

  • Problem: OpenAI model offerings need to include GPT-5.5 as a new tier
  • What changed: Added GPT-5.5 model to CLAW402_MODELS, store/ai_charge.go, and mcp/payment/claw402.go with pricing at $0.15/call
  • What did NOT change (scope boundary): All other AI models and providers remain unchanged. DeepSeek-V4 models (deepseek-v4-flash, deepseek-v4-pro) are also included from merged dev branch.

Change Type

  • Feature

Scope

  • Trading engine / strategies
  • MCP / AI clients
  • API / server
  • Telegram bot / agent
  • Web UI / frontend
  • Config / deployment
  • CI/CD / infra

Linked Issues

  • Closes #
  • Related #

Testing

What you verified and how:

  • go build ./... passes
  • npm run build passes (web)
  • go test ./... passes
  • Manual testing done (describe below)

Security Impact

  • Secrets/keys handling changed? (No)
  • New/changed API endpoints? (No)
  • User input validation affected? (No)

Compatibility

  • Backward compatible? (Yes)
  • Config/env changes? (No)
  • Migration needed? (No)

@Hansen1018 Hansen1018 changed the title Feat/add gpt 5 5 feat: add GPT-5.5 model support Apr 24, 2026
@github-actions
Copy link
Copy Markdown

🤖 Advisory Check Results

These are advisory checks to help improve code quality. They won't block your PR from being merged.

📋 PR Information

Title Format: ✅ Good - Follows Conventional Commits
PR Size: 🟢 Small (14 lines: +11 -3)

🔧 Backend Checks

Go Formatting: ⚠️ Needs formatting

Files needing formatting
agent/brain.go
agent/execution_state.go
agent/onboard.go
agent/planner_runtime.go
agent/scheduler.go
agent/sentinel.go
agent/skill_dag.go
agent/skill_dag_runtime.go
agent/stock.go
agent/tools_test.go

Go Vet: ✅ Good
Tests: ✅ Passed

Fix locally:

go fmt ./...      # Format code
go vet ./...      # Check for issues
go test ./...     # Run tests

⚛️ Frontend Checks

Build & Type Check: ✅ Success

Fix locally:

cd web
npm run build  # Test build (includes type checking)

📖 Resources

Questions? Feel free to ask in the comments! 🙏


These checks are advisory and won't block your PR from being merged. This comment is automatically generated from pr-checks-run.yml.

@github-actions
Copy link
Copy Markdown

🤖 Advisory Check Results

These are advisory checks to help improve code quality. They won't block your PR from being merged.

📋 PR Information

Title Format: ✅ Good - Follows Conventional Commits
PR Size: 🔴 Large (1059 lines: +257 -802)

💡 Suggestion: This is a large PR. Consider breaking it into smaller, focused PRs for easier review.

🔧 Backend Checks

Go Formatting: ⚠️ Needs formatting

Files needing formatting
agent/brain.go
agent/execution_state.go
agent/onboard.go
agent/planner_runtime.go
agent/scheduler.go
agent/sentinel.go
agent/skill_dag.go
agent/skill_dag_runtime.go
agent/stock.go
agent/tools_test.go

Go Vet: ✅ Good
Tests: ✅ Passed

Fix locally:

go fmt ./...      # Format code
go vet ./...      # Check for issues
go test ./...     # Run tests

⚛️ Frontend Checks

Build & Type Check: ✅ Success

Fix locally:

cd web
npm run build  # Test build (includes type checking)

📖 Resources

Questions? Feel free to ask in the comments! 🙏


These checks are advisory and won't block your PR from being merged. This comment is automatically generated from pr-checks-run.yml.

Hansen1018 added a commit to Hansen1018/nofx that referenced this pull request Jun 7, 2026
- agent/agent.go: update openai default model to gpt-5.5
- api/handler_ai_model.go: update openai defaultModel to gpt-5.5
- web/src/components/trader/model-constants.ts: add gpt-5.5 to CLAW402_MODELS and BLOCKRUN_MODELS
- store/ai_charge.go: gpt-5.5 price at $0.15
- mcp/payment/claw402.go: gpt-5.5 endpoint
- mcp/provider/openai.go: DefaultOpenAIModel = gpt-5.5
@Hansen1018 Hansen1018 requested a review from SkywalkerJi as a code owner June 7, 2026 12:01
@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jun 7, 2026

CLA assistant check
All committers have signed the CLA.

@cla-assistant
Copy link
Copy Markdown

cla-assistant Bot commented Jun 7, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ deanokk
✅ Hansen1018
❌ shinchan-zhai
You have signed the CLA already but the status is still pending? Let us recheck it.

- mcp/provider/openai.go: DefaultOpenAIModel = gpt-5.5
- api/handler_ai_model.go: openai defaultModel = gpt-5.5
- agent/agent.go: openai provider default model = gpt-5.5
- agent/model_provider_catalog.go: OpenAI DefaultModel = gpt-5.5
- mcp/payment/claw402.go: add gpt-5.5 endpoint
- store/ai_charge.go: gpt-5.5 price at $0.15/call
- web/src/components/trader/model-constants.ts: add gpt-5.5 to CLAW402_MODELS and BLOCKRUN_MODELS
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 7, 2026

🤖 Advisory Check Results

These are advisory checks to help improve code quality. They won't block your PR from being merged.

📋 PR Information

Title Format: ✅ Good - Follows Conventional Commits
PR Size: 🟢 Small (16 lines: +12 -4)

🔧 Backend Checks

Go Formatting: ⚠️ Needs formatting

Files needing formatting
agent/execution_state.go
agent/model_provider_catalog.go
agent/skill_dag_runtime.go
agent/stock.go
api/errors.go
api/handler_wallet.go
cmd/e2e_builder_fee/main.go
kernel/formatter.go
kernel/grid_engine.go
kernel/validate_test.go

Go Vet: ✅ Good
Tests: ✅ Passed

Fix locally:

go fmt ./...      # Format code
go vet ./...      # Check for issues
go test ./...     # Run tests

⚛️ Frontend Checks

Build & Type Check: ✅ Success

Fix locally:

cd web
npm run build  # Test build (includes type checking)

📖 Resources

Questions? Feel free to ask in the comments! 🙏


These checks are advisory and won't block your PR from being merged. This comment is automatically generated from pr-checks-run.yml.

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