fix(opencode): 이미지가 게이트웨이까지 안 오던 것 — vision 모델에 modalities.image 표시 + 이미지 턴은 OpenCode 에 gateway/605 지정

고객사 실측: 게이트웨이 로그 parts=['text']. OpenCode 는 모델 설정에 이미지 입력 표시가 없으면
파트를 떨구고 텍스트만 보냄. render_opencode 가 AAF_FABRIX_VISION_MODEL_ID 모델에 attachment/modalities 를
붙이고, deploy.sh 가 OPENCODE_VISION_MODEL=gateway/605 를 채워 백엔드가 이미지 턴에 그 모델을 지정.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
lee-hyeon-cheol
2026-09-21 18:33:40 +09:00
co-authored by Claude Fable 5.1
parent 377a36a313
commit 7397061665
3 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
OPENCODE_BASE_URL=http://localhost:4096
OPENCODE_AGENT=codeassist
# 이미지 요청만 이 모델로 (로컬 OpenRouter). 고객사는 비우고 AAF_FABRIX_VISION_MODEL_ID 사용
OPENCODE_VISION_MODEL=openrouter/google/gemma-4-31b-it
OPENCODE_VISION_MODEL=openrouter/google/gemma-4-31b-it # 고객사는 gateway/605 (deploy.sh 가 채움)
# 토큰 서명 키 (비우면 data/.auth_secret 자동 생성)
AUTH_SECRET=