fix: 修复 taskId 不一致导致 conversation.json 找不到的问题

- messageHandler 复用 historyManager 的 taskId 而非重新生成
- 环境切换为 dev,超时时间统一为 5 分钟
- agentCard 添加调试智能体相关工具名称映射
- 移除冗余的 segments 调试日志
This commit is contained in:
XiaoFeng
2026-01-05 10:15:25 +08:00
parent acf3f9ff37
commit e48e822d07
3 changed files with 15 additions and 13 deletions

View File

@ -8,7 +8,7 @@ import * as vscode from "vscode";
type Environment = "dev" | "test" | "prod";
/** 当前环境 - 修改这里切换环境 */
const CURRENT_ENV: Environment = "test";
const CURRENT_ENV: Environment = "dev";
/** 配置项接口 */
export interface IccoderConfig {
@ -25,7 +25,7 @@ const ENV_CONFIG: Record<Environment, IccoderConfig> = {
/** 本地开发环境 */
dev: {
backendUrl: "http://localhost:2233",
timeout: 60000,
timeout: 300000, // 5分钟与子智能体超时一致
userId: "default-user",
},
/** 测试服务器环境 */