修复 Codex MCP type 配置并更新发布包
This commit is contained in:
@@ -690,6 +690,8 @@ function completeMcpToolTurn(thread, turnId) {
|
||||
webSearchMode: thread.config?.web_search || null,
|
||||
hasCcwebMcpConfig: Boolean(ccwebConfig),
|
||||
hasProjectMcpConfig: Boolean(projectConfig),
|
||||
ccwebHasTopLevelType: Boolean(ccwebConfig && Object.hasOwn(ccwebConfig, 'type')),
|
||||
projectHasTopLevelType: Boolean(projectConfig && Object.hasOwn(projectConfig, 'type')),
|
||||
ccwebType: ccwebConfig?.type || (ccwebConfig?.url ? 'streamable_http' : (ccwebConfig?.command ? 'stdio' : null)),
|
||||
ccwebUrl: ccwebConfig?.url || null,
|
||||
ccwebBearerTokenEnvVar: ccwebConfig?.bearer_token_env_var || null,
|
||||
|
||||
Reference in New Issue
Block a user