Skip to content

feat(ai): use Luna as the default conversation model - #784

Draft
izadoesdev wants to merge 1 commit into
stagingfrom
codex/agent-default-luna
Draft

feat(ai): use Luna as the default conversation model#784
izadoesdev wants to merge 1 commit into
stagingfrom
codex/agent-default-luna

Conversation

@izadoesdev

@izadoesdev izadoesdev commented Sep 11, 2026

Copy link
Copy Markdown
Member

Switch the Balanced conversation model from openai/gpt-5.6-terra to openai/gpt-5.6-luna. Dashboard Balanced requests, Slack answers, and shared agent calls without an override now select Luna. Public MCP remains a tools server whose external client chooses its own model. Quick/Deep selections and the separately configured Insights models are unchanged.

Add Luna's standard credit-pricing rates from the AI Gateway catalog, verified September 11, 2026: $0.20 input, $1.20 output, $0.02 cache read, and $0.25 cache write per million tokens. Keep Terra pricing for remaining consumers. This retains the existing flat-rate accounting design; long-context and service-tier surcharges are not modeled by that design.

Validation: root lint passes, all 33 workspace typecheck tasks pass, and all 10 targeted model-default, usage-telemetry, and shared credit tests pass. The pre-push hook also passed the full 27-task workspace test run (AI package: 916 passed, 33 integration/environment skips, zero failures). The existing configured-model pricing test failed before adding Luna's rate entry; a new regression verifies fresh/cached token attribution and final credit math below the long-context threshold. The docs' normal generated collections were created before the successful full typecheck.

Rollout context: the preceding 64-conversation synthetic evaluation favored Luna (18/22 grounded numeric answers versus Terra's 16/22; 87.1% lower returned cost across 19 fully billed matched data pairs). That evaluation included the harness changes in #782 and #783, which are still open. Those measurements are not a benchmark of current staging; coordinate rollout with those fixes. This configuration slice is based directly on current staging, has no source dependency or changed-file overlap with those PRs, and does not include their harness changes. No production deployment performed.

AI-assisted implementation and verification with Codex, directed by a maintainer.


Summary by cubic

Switches the Balanced conversation model from openai/gpt-5.6-terra to openai/gpt-5.6-luna. Dashboard Balanced requests, Slack answers, and shared agent calls without an override now use Luna. Quick/Deep and Insights models are unchanged, and public MCP remains a tools server where the external client chooses its own model.

Adds Luna's standard credit-pricing rates and a regression test covering fresh/cached token attribution and final credit math. The existing flat-rate accounting design is unchanged; long-context and service-tier surcharges are not modeled. Validation passed: lint, typecheck, and targeted tests. No production deployment; rollout should coordinate with the open harness changes from the preceding evaluation.

Written for commit edf4924. Summary will update on new commits.

Review in cubic

@vercel

vercel Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
dashboard Ready Ready Preview Sep 11, 2026 1:57pm UTC
databuddy-status Ready Ready Preview Sep 11, 2026 1:57pm UTC
documentation Ready Ready Preview Sep 11, 2026 1:57pm UTC

@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: f981e8e1-46d9-422f-9d30-97bfecbe57f4

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@unkey-deploy

unkey-deploy Bot commented Sep 11, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Unkey Deploy

Name Status Preview Inspect Updated (UTC)
links (preview) Ready Visit Preview Inspect Sep 11, 2026 1:56pm

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