Phase 7a-2: id-9b Modelfile (no-think) + 이드 페르소나 강화

- Modelfile.id-9b 생성: qwen3.5:9b-q8_0 기반, no-think ChatML 템플릿
- 모든 Ollama 호출(8개 노드+2개 Python)에 system: '/no_think' 이중 방어
- Call Haiku/Opus: 이드 페르소나 [자아]/[성격]/[말투]/[응답 원칙]/[기억] 강화
- Call Qwen Response: system 파라미터 분리 + 경량 자아 추가
- Claude API 노드에는 /no_think 미적용

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-03-17 10:34:10 +09:00
parent 1543abded6
commit 30edc34cab
6 changed files with 56 additions and 19 deletions

View File

@@ -132,7 +132,7 @@ type 판단:
try:
resp = httpx.post(
f"{GPU_OLLAMA_URL}/api/generate",
json={"model": "id-9b:latest", "prompt": prompt, "stream": False, "format": "json", "think": False},
json={"model": "id-9b:latest", "system": "/no_think", "prompt": prompt, "stream": False, "format": "json", "think": False},
timeout=15,
)
return json.loads(resp.json()["response"])