authorgravatar for 118054752+extoci@users.noreply.github.comExotic <118054752+extoci@users.noreply.github.com> 2026-09-23 03:48:16+03:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-09-22 17:48:16-07:00
logca864a25b14813e390cbcaeb334b97cd61717ce3
tree7b2b47b6e84e51ef1b11180f7e2544b77d375de8
parente4422eec752e8cce46af2865d8fbd3d5b7468a2a
signature Signed by PGP key B5690EEEBB952194

chore(models): use GPT-6 Luna for text generation (#13115)


2 files changed, 1 insertions(+), 9 deletions(-)

packages/contracts/src/model.ts+1-1
...@@ -161,7 +161,7 @@ export const PREFERRED_DEFAULT_CODEX_MODELS: ReadonlyArray<string> = [...@@ -161,7 +161,7 @@ export const PREFERRED_DEFAULT_CODEX_MODELS: ReadonlyArray<string> = [
161 "gpt-5.6-sol",161 "gpt-5.6-sol",
162 "gpt-5.6-terra",162 "gpt-5.6-terra",
163];163];
164export const DEFAULT_TEXT_GENERATION_MODEL = "gpt-5.6-luna";164export const DEFAULT_TEXT_GENERATION_MODEL = "gpt-6-luna";
165/** Keep the official Antigravity session's current model. Never send this ID to ACP. */165/** Keep the official Antigravity session's current model. Never send this ID to ACP. */
166export const ANTIGRAVITY_DEFAULT_MODEL = "antigravity-default";166export const ANTIGRAVITY_DEFAULT_MODEL = "antigravity-default";
167export const DEFAULT_TEXT_GENERATION_REASONING_EFFORT = "low";167export const DEFAULT_TEXT_GENERATION_REASONING_EFFORT = "low";
packages/contracts/src/settings.test.ts-8
...@@ -690,14 +690,6 @@ describe("ClientSettings pull request merge methods", () => {...@@ -690,14 +690,6 @@ describe("ClientSettings pull request merge methods", () => {
690});690});
691691
692describe("ServerSettings.providerInstances (slice-2 invariant)", () => {692describe("ServerSettings.providerInstances (slice-2 invariant)", () => {
693 it("defaults text generation to Luna at low reasoning effort", () => {
694 expect(DEFAULT_SERVER_SETTINGS.textGenerationModelSelection).toEqual({
695 instanceId: ProviderInstanceId.make("codex"),
696 model: "gpt-5.6-luna",
697 options: [{ id: "reasoningEffort", value: "low" }],
698 });
699 });
700
701 it("defaults to an empty record so legacy configs without the key still decode", () => {693 it("defaults to an empty record so legacy configs without the key still decode", () => {
702 expect(DEFAULT_SERVER_SETTINGS.providerInstances).toEqual({});694 expect(DEFAULT_SERVER_SETTINGS.providerInstances).toEqual({});
703 });695 });