fix: pin autofix agent to claude-sonnet-5 via custom:9router provider

This commit is contained in:
asepharyana
2026-09-23 22:00:02 +07:00
parent 66b567a6bc
commit 0157029da8
+1
View File
@@ -1222,6 +1222,7 @@ def _hermes_api_post(prompt, workdir, timeout=SYNC_CLAUDE_TIMEOUT, label="hermes
headers["X-Hermes-Session-Id"] = session_id headers["X-Hermes-Session-Id"] = session_id
body = { body = {
"model": "hermes-agent", "model": "hermes-agent",
"provider": "custom:9router",
"messages": [ "messages": [
{"role": "system", "content": ( {"role": "system", "content": (
"You are an autonomous coding agent inside a git worktree. " "You are an autonomous coding agent inside a git worktree. "