Skip to content

feat(opencode): add ling prompt and route gpt-5.5 models to gpt55#3134

Open
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
update-opencode-prompt-ling-gpt55
Open

feat(opencode): add ling prompt and route gpt-5.5 models to gpt55#3134
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
update-opencode-prompt-ling-gpt55

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot Bot commented May 8, 2026

Summary

  • Add the new ling member to OpenCodePromptSchema in packages/db/src/schema-types.ts to match the upstream kilocode gateway PROMPTS constant.
  • In apps/web/src/lib/ai-gateway/providers/model-settings.ts, route any model whose ID contains the substring gpt-5.5 to the gpt55 prompt via a new getOpenCodePrompt helper surfaced through getOpenCodeSettings.

Verification

N/A — no manual verification performed; long-running checks (install/format/typecheck/test) were intentionally skipped per instructions.

Visual Changes

N/A

Reviewer Notes

getOpenCodeSettings now always returns an object that may have an undefined prompt, matching how it already does for ai_sdk_provider and variants.

@kilo-code-bot
Copy link
Copy Markdown
Contributor Author

kilo-code-bot Bot commented May 8, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • apps/web/src/lib/ai-gateway/providers/model-settings.ts
  • packages/db/src/schema-types.ts

Reviewed by gpt-5.5-20260423 · 122,064 tokens

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