LLM·임베딩 모델명 문서 드리프트 정정 - #227
Merged
Merged
Conversation
같은 설정이 문서 네 곳에서 세 가지 값으로 적혀 있었다. - 실제(settings.py·.env.example·environment.md 카탈로그): gemini-3.1-pro-preview / gemini-3.1-flash-lite - ai/CLAUDE.md §6.2 표: flash 가 "gemini-3.1-flash-lite-preview 후보" - ai/CLAUDE.md §9 예시·environment.md 코드 예시: gemini-3.1-pro / gemini-3.1-flash - §9 예시의 임베딩도 낡음: text-embedding-004/768 (실제 gemini-embedding-001/1536 — pgvector 컬럼이 vector(1536) 이라 이대로 따라 하면 차원 불일치) 전부 실제 기본값으로 정렬했다. 함께, Pro 기본값이 -preview 별칭이라는 운영 주의를 §6.2 에 명시했다 — 게이트웨이가 preview 별칭을 은퇴시키면 Pro 를 쓰는 경로(질문 풀·분석·피드백)가 한꺼번에 죽고, 복구는 .env 의 LLM_PRO_MODEL 한 줄이다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
배경 — 디자인·TTS·AI 모델 축 감사
이번 라운드에서 확인한 것들. 코드는 전부 깨끗했다:
sage-*오용 (항상-어두운-표면 전용 규약)text-primary오용 (고정 흰 표면 전용)bg-white위 — 규약대로FAILED콜백 발행 → 질문은 텍스트로 정상 진행 (오디오는 enhancement)남은 결함은 문서 드리프트 하나다 — #220(PII 마스킹 서술)과 같은 부류.
문제
같은 설정이 네 곳에서 세 가지 값으로 적혀 있다.
settings.py(실제) ·.env.example·environment.md카탈로그gemini-3.1-pro-previewgemini-3.1-flash-liteai/CLAUDE.md §6.2표gemini-3.1-flash-lite-preview"후보"ai/CLAUDE.md §9예시 ·environment.md코드 예시gemini-3.1-progemini-3.1-flash§9 예시는 임베딩도 낡았다:
text-embedding-004/ 768차원. 실제는gemini-embedding-001/ 1536차원이고 pgvector 컬럼이vector(1536)이라, 예시를 그대로 따라 하면 차원 불일치로 upsert 가 깨진다. 단순 이름 차이가 아니라 따라 하면 사고가 나는 예시였다.수정
전부 실제 기본값으로 정렬. 추가로
§6.2에 운영 주의를 명시했다:장애 때 "어디를 고치면 되는지"가 문서에 있어야 새벽에 코드를 뒤지지 않는다.