Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

chore(llm): use gpt-5.6-luna by default

yushen0a54485ab653
diff --git a/.env.example b/.env.example
index 515226210b..8f15f79661 100644
--- a/.env.example
+++ b/.env.example
@@ -76,7 +76,7 @@ MULTICA_LLM_API_KEY=
# self-hosted, OpenAI-compatible model server.
MULTICA_LLM_BASE_URL=
# - Default model used when a request omits `model`. When unset, falls
-# back to a small built-in default (gpt-4o-mini).
+# back to a small built-in default (gpt-5.6-luna).
MULTICA_LLM_DEFAULT_MODEL=
MULTICA_DAEMON_CONFIG=
MULTICA_WORKSPACE_ID=
diff --git a/apps/docs/content/docs/environment-variables.ja.mdx b/apps/docs/content/docs/environment-variables.ja.mdx
index 399135f932..87f2399e6e 100644
--- a/apps/docs/content/docs/environment-variables.ja.mdx
+++ b/apps/docs/content/docs/environment-variables.ja.mdx
@@ -181,7 +181,7 @@ allowlist の正確な判定順序は[ログインとサインアップ](/auth-s
|---|---|---|
| `MULTICA_LLM_API_KEY` | 空 | OpenAI 互換の API key |
| `MULTICA_LLM_BASE_URL` | 空 | OpenAI 互換の endpoint |
-| `MULTICA_LLM_DEFAULT_MODEL` | 組み込みデフォルト | リクエストがモデルを指定しない場合に使用 |
+| `MULTICA_LLM_DEFAULT_MODEL` | `gpt-5.6-luna` | リクエストがモデルを指定しない場合に使用 |
API key と base URL の両方が空の場合、サーバーサイド LLM 生成は無効になり、呼び出し側はローカルのフォールバックロジックを使います。
diff --git a/apps/docs/content/docs/environment-variables.ko.mdx b/apps/docs/content/docs/environment-variables.ko.mdx
index fd369792ad..eedf4052c5 100644
--- a/apps/docs/content/docs/environment-variables.ko.mdx
+++ b/apps/docs/content/docs/environment-variables.ko.mdx
@@ -181,7 +181,7 @@ reverse proxy 뒤에 배포한다면 실제 proxy 네트워크를 입력해야
|---|---|---|
| `MULTICA_LLM_API_KEY` | 비어 있음 | OpenAI 호환 API key |
| `MULTICA_LLM_BASE_URL` | 비어 있음 | OpenAI 호환 endpoint |
-| `MULTICA_LLM_DEFAULT_MODEL` | 내장 기본값 | 요청에 모델이 지정되지 않았을 때 사용 |
+| `MULTICA_LLM_DEFAULT_MODEL` | `gpt-5.6-luna` | 요청에 모델이 지정되지 않았을 때 사용 |
API key와 base URL이 모두 비어 있으면 서버 측 LLM 생성이 꺼지고 호출자가 로컬 fallback 로직을 사용합니다.
diff --git a/apps/docs/content/docs/environment-variables.mdx b/apps/docs/content/docs/environment-variables.mdx
index 704f5b1806..d2cc744730 100644
--- a/apps/docs/content/docs/environment-variables.mdx
+++ b/apps/docs/content/docs/environment-variables.mdx
@@ -181,7 +181,7 @@ This group configures server-side assist generation, such as conversation titles
|---|---|---|
| `MULTICA_LLM_API_KEY` | empty | OpenAI-compatible API key |
| `MULTICA_LLM_BASE_URL` | empty | OpenAI-compatible endpoint |
-| `MULTICA_LLM_DEFAULT_MODEL` | built-in default | Used when a request does not specify a model |
+| `MULTICA_LLM_DEFAULT_MODEL` | `gpt-5.6-luna` | Used when a request does not specify a model |
When both the API key and base URL are empty, server-side LLM generation is off and callers use local fallback logic.
diff --git a/apps/docs/content/docs/environment-variables.zh.mdx b/apps/docs/content/docs/environment-variables.zh.mdx
index 56801e0b08..b937aa8e41 100644
--- a/apps/docs/content/docs/environment-variables.zh.mdx
+++ b/apps/docs/content/docs/environment-variables.zh.mdx
@@ -181,7 +181,7 @@ MULTICA_PUBLIC_URL=https://api.multica.example.com
|---|---|---|
| `MULTICA_LLM_API_KEY` | 空 | OpenAI 兼容 API key |
| `MULTICA_LLM_BASE_URL` | 空 | OpenAI 兼容 endpoint |
-| `MULTICA_LLM_DEFAULT_MODEL` | 内置默认 | 请求未指定模型时使用 |
+| `MULTICA_LLM_DEFAULT_MODEL` | `gpt-5.6-luna` | 请求未指定模型时使用 |
API key 与 base URL 都为空时,服务端 LLM 生成关闭,调用方会使用本地回退逻辑。
diff --git a/server/internal/handler/chat_title.go b/server/internal/handler/chat_title.go
index 939bf7c9c0..a3bdbf2856 100644
--- a/server/internal/handler/chat_title.go
+++ b/server/internal/handler/chat_title.go
@@ -124,7 +124,7 @@ func (h *Handler) maybeGenerateChatTitleAsync(workspaceID, userID string, sessio
func (h *Handler) generateChatSessionTitle(ctx context.Context, sessionID pgtype.UUID, currentTitle, sourceText string) (db.ChatSession, bool, error) {
// DefaultModel() is used implicitly by GenerateText when model == "": a
// deployment configures MULTICA_LLM_DEFAULT_MODEL (or the built-in
- // gpt-4o-mini fallback) — no model is threaded through from the frontend.
+ // gpt-5.6-luna fallback) — no model is threaded through from the frontend.
raw, err := h.LLM.GenerateText(ctx, "", chatTitleSystemPrompt, sourceText)
if err != nil {
return db.ChatSession{}, false, err
diff --git a/server/pkg/llm/client.go b/server/pkg/llm/client.go
index 7ab2c8689c..29939a7700 100644
--- a/server/pkg/llm/client.go
+++ b/server/pkg/llm/client.go
@@ -36,7 +36,7 @@ import (
// FallbackModel is the last-resort model used when neither the request nor the
// configured default supplies one. It is deliberately a small, inexpensive
// model since this layer backs lightweight utility calls.
-const FallbackModel = "gpt-4o-mini"
+const FallbackModel = "gpt-5.6-luna"
// defaultTimeout bounds the full request lifecycle (including SDK retries) when
// the caller's context has no deadline of its own. Streaming requests are not