feat: add ofcx-go to code agent session provider profile allowlist
CODE_AGENT_PROVIDER_PROFILE_IDS was missing ofcx-go, causing session creation to normalize ofcx-go back to the default deepseek profile. Adding ofcx-go to the allowlist ensures sessions are created with the correct providerProfile that propagates to AgentRun backend profile routing. Refs pikasTech/HWLAB#1034
This commit is contained in:
@@ -34,7 +34,7 @@ const DEFAULT_CODE_AGENT_RESULT_TRACE_EVENT_LIMIT = 120;
|
||||
const DEFAULT_CODE_AGENT_PROJECT_ID = "prj_hwpod_workbench";
|
||||
const DEFAULT_CODE_AGENT_PROVIDER_PROFILE = "deepseek";
|
||||
const CODE_AGENT_TERMINAL_STATUSES = new Set(["completed", "failed", "blocked", "timeout", "cancelled", "canceled"]);
|
||||
const CODE_AGENT_PROVIDER_PROFILE_IDS = Object.freeze(["deepseek", "codex-api", "minimax-m3", "runtime-default"]);
|
||||
const CODE_AGENT_PROVIDER_PROFILE_IDS = Object.freeze(["deepseek", "codex-api", "minimax-m3", "ofcx-go", "runtime-default"]);
|
||||
const CODE_AGENT_PROVIDER_PROFILE_LABELS = Object.freeze({
|
||||
"deepseek": "DeepSeek",
|
||||
"codex-api": "Codex API",
|
||||
|
||||
Reference in New Issue
Block a user