Releases: alexazhou/TogoSpace
Releases · alexazhou/TogoSpace
Release list
TogoSpace v0.3.9
本版本重点支持了为不同 Agent 按需配置不同模型:每个 Agent 可以使用系统默认模型槽位,也可以直接绑定指定 Provider 下的具体模型,方便在同一个团队中混合使用主力模型、轻量模型、视觉模型或专用推理模型。
同时,本版本重构了大模型配置体系,从原来的“单个 LLM 服务”升级为“Provider -> Model”的两级结构,并同步改造 Web Console 的模型设置、快速初始化、模型槽位和高级参数编辑体验。
主要更新
多 Agent 按需模型配置
- 支持为不同 Agent 配置不同模型。
- Agent 可选择使用系统模型槽位,也可直接绑定具体模型
model@provider。 - 同一个团队中可以混合使用主模型、轻量模型、高级模型、视觉模型或其他专用模型。
- 模型能力、上下文窗口、请求头、额外参数等配置可按模型独立设置。
LLM 配置体系重构
- 新增
llm_providers配置结构,支持一个 Provider 下配置多个模型。 - 新增模型级配置:协议、是否启用、是否支持视觉、温度、请求头、额外参数、上下文配置等。
- 新增全局模型槽位:主模型、轻量模型、高级模型、视觉模型。
- Agent 支持绑定系统模型槽位,或直接指定具体模型
model@provider。 - 新增 Provider 预设 URL,内置阿里云、OpenAI、Anthropic、DeepSeek、Mimo、Google、火山引擎等常见服务。
provider_params统一重命名为extra_params,请求头和额外参数统一调整到模型级别。
配置迁移与兼容
- 引入配置文件版本
v2。 - 旧版
llm_services配置会在启动时自动迁移到新的llm_providers结构。 - 旧版默认 LLM 服务会自动迁移为新的主模型槽位。
- 保存配置时会清理空值和默认值,减少
setting.json冗余字段。
Web Console 改进
- 重构大模型设置页面,改为 Provider + Model 的层级管理。
- 新增模型槽位配置区域,可直接选择主模型、轻量模型、高级模型和视觉模型。
- 新增单模型连通性测试。
- 快速初始化流程重构,支持选择 Provider 类型、协议和模型。
- Agent 属性面板和成员编辑器新增模型选择控件。
- 新增上下文配置组件,支持展示态和弹窗编辑态。
- 新增请求头编辑组件,使用结构化表单编辑 Header。
- 新增额外参数编辑组件,支持 JSON 原始值和可视化配置联动。
- 额外参数编辑内置 GPT、Claude、GLM、DeepSeek、Mimo 等模型模板,用于辅助生成思考参数等配置。
系统与更新检查
- 系统状态接口新增当前版本号。
- 新增检查 GitHub 最新版本的接口和前端提示。
- 新增自动检查更新开关。
- 设置页增加版本展示。
后端与运行时
- 重构
resolve_model,统一处理系统槽位和model@provider。 - 上下文配置支持全局配置与模型级配置逐字段合并。
- Compact 阈值和硬限制改为基于解析后的模型配置计算。
- LLM 请求统一使用模型级
extra_params和extra_headers。 - 新增默认模型槽位引用校验,避免保存不存在的模型引用。
- RoleTemplate 不再保存模型字段,模型选择统一下沉到 Agent 或全局槽位。
Docker 与部署
- 默认后端端口从
8080改为8180。 - 前端开发服务默认端口从
5173改为8181。 - Docker 镜像默认暴露
7180,健康检查同步更新。 - Docker 镜像新增常用调试工具,包括
gh、jq、tree、sqlite3、net-tools等。 - 固定
litellm==1.83.0,并限制cryptography<49.0.0以改善 macOS 构建稳定性。
修复
- 修复旧配置控制器引用已删除 LLM 字段的问题。
- 修复多部门场景下查找下属 Agent 为空的问题。
- 修复模型配置保存时
null字段导致的校验和序列化问题。 - 修复 Vue scoped CSS 编译导致页面宽度异常的问题。
- 修复模型额外参数解析和编辑交互中的若干问题。
- 修复前端 TypeScript 构建错误。
- 修复系统状态、更新检查、LLM 解析、配置迁移等相关测试问题。
升级注意
- 默认访问地址改为
http://localhost:8180。如果你使用 Docker,请注意 Docker 容器内部端口为7180,需调整端口映射。 - 旧版
setting.json会自动迁移为 v2 配置结构。建议升级前备份原配置文件。 - RoleTemplate 中的模型配置已移除,请通过全局模型槽位或 Agent 属性配置模型。
- 额外参数现在使用
extra_params字段,旧的provider_params会在迁移中转换。
TogoSpace v0.3.8
- Docker 镜像内置常用开发工具(git、gh、jq 等)
- 依赖升级:pydantic >=2.13.0、litellm >=1.83.0
- Pre-installed common dev tools in Docker image (git, gh, jq, etc.)
- Dependency upgrades: pydantic >=2.13.0, litellm >=1.83.0
Full Changelog: v0.3.7...v0.3.8
TogoSpace v0.3.7
- 全新 V23 Skill(技能)系统落地
- LLM 调用及容错增强
- Agent 协作与任务流修复
- UI 界面与交互细节打磨
- 升级 gtsp 到 0.4.6
- Implemented V23 Skill system
- Enhanced LLM invocation and fault tolerance
- Fixed Agent collaboration and task workflows
- Refined UI and interaction details
- Upgraded gtsp to 0.4.6
Full Changelog: v0.3.6...v0.3.7
TogoSpace v0.3.6
chore: sync frontend submodule pointer (fix TS2769 build error)
TogoSpace v0.3.5
V0.3.5 - LLM Request Retry with Backoff
Key Changes
- Features:
- LLM request retry with exponential backoff: When an LLM API call fails, the system now automatically retries with exponential backoff, significantly improving reliability for transient network errors and rate limits.
- Retry status reporting: Real-time retry status (attempt count, max attempts, error details) is reported to the activity panel, providing visibility into retry progress.
- Room last message preview: Added loading indicator for room last message preview.
- Improvements:
- Refined LLM retry error display in the activity panel.
- Updated frontend activity styling consistency.
- Reverted activity display to strong/chip mix for better readability.
- Fixes:
- Fixed mypy type errors in
agentTurnRunnerandroomController. - Fixed test
patch_infernot removingon_status_eventparameter, causing CI failures.
- Fixed mypy type errors in
V0.3.5 - LLM 请求失败重试(指数退避)
核心变更
- 新功能:
- LLM 请求失败自动重试(指数退避):当 LLM API 调用失败时,系统现在会自动以指数退避策略进行重试,显著提升了面对瞬时网络错误和速率限制时的可靠性。
- 重试状态实时上报:重试状态(尝试次数、最大次数、错误详情)实时反馈到活动面板,提供重试进度的可视化。
- 房间最后消息预览:新增房间最后消息预览的加载指示器。
- 优化:
- 改进了活动面板中 LLM 重试错误信息的显示。
- 统一了前端活动样式的视觉一致性。
- 活动显示恢复为 strong/chip 混合样式以提升可读性。
- 修复:
- 修复
agentTurnRunner和roomController的 mypy 类型错误。 - 修复测试
patch_infer未移除on_status_event参数导致 CI 失败的问题。
- 修复
Full Changelog: v0.3.4...v0.3.5
TogoSpace v0.3.4
V0.3.4 - macOS Dual-Architecture Build & Task Collaboration
Key Changes
- Features:
- macOS dual-architecture build: Release workflow now supports both arm64 and x86_64 builds. Users can download the appropriate installer for their Mac architecture.
- Task collaboration system enhancement: Task status flow optimization, task message bus events, Agent/Manager ID injection into system prompts for identity awareness.
- Frontend display improvements: Unified task status display, validation/pause markers, card layout optimization, real-time task state synchronization.
- Improvements:
- Incremental room creation without full team reload.
- Improved logging in presetService, tspDriver, and agentService.
- Fixes:
- Fixed
parent_nameempty string bypass causing orphan root department creation. - Fixed room
agent_read_indexreset on team data clearing to resolve scheduling restart issues. - Fixed input box clipping issue when height is limited.
- Fixed two failing CI tests.
- Fixed
V0.3.4 - macOS 双架构构建与任务协作增强
核心变更
- 新功能:
- macOS 双架构构建:Release workflow 现支持 arm64 和 x86_64 双架构构建。用户可下载对应 Mac 架构的安装包。
- 任务协作系统增强:任务状态流转优化、任务消息总线事件、系统 Prompt 注入 Agent/Manager ID 以实现身份感知。
- 前端显示效果优化:统一任务状态显示、待验收/暂停标记、卡片布局改进、任务状态实时同步。
- 优化:
- 支持增量房间创建,无需全量 team reload。
- 改进 presetService、tspDriver 和 agentService 的日志信息。
- 修复:
- 修复
parent_name空字符串绕过校验导致创建孤儿根部门的问题。 - 修复清理团队数据时 room
agent_read_index未重置导致调度重启异常。 - 修复输入框在高度受限时底部内容被裁剪的问题。
- 修复两个 CI 失败的测试。
- 修复
Full Changelog: v0.3.3...v0.3.4
TogoSpace fix/rosetta2-x86_64-build
fix(ci): replace deprecated macos-13 with macos-14 for x86_64 builds macos-13 runners have been removed from GitHub Actions, causing x86_64 builds to queue indefinitely.
TogoSpace v0.3.3
V0.3.3 - System Maintenance & WebSocket Events
Key Changes
- Features:
- Added database backup to system maintenance.
- Added agent history clearing and join-time room sync.
- Publish
TEAM_RELOADEDevent afterhot_reload_teamand forward via WebSocket. - Added Windows frontend debug script (
scripts/windows/run_in_frontend.bat). - Added LLM request rules for reasoning tool choice.
- Improvements:
- Simplified team preset export; renamed config types (
TeamConfig→TeamPreset,RoleTemplateConfig→RoleTemplatePreset, etc.). - Simplified room message lazy loading and agent activity management.
- Refactored LLM service module structure.
- Simplified team preset export; renamed config types (
- Fixes:
- Fixed activity list layout and bottom gap in AgentActivityDialog.
- Fixed
AGENT_STATEbeing excluded from agent activities API. - Fixed
ROOM_ADDEDevent not published afterupsert_roomto notify frontend. - Fixed tool schema array items generation and unsupported type rejection.
- Fixed missing
reasoning_contentfor thinking mode when switching models. - Fixed unregistered tool calls not handled gracefully.
- Fixed operator id (-1) lost in agents when normalizing room from WebSocket event.
- Fixed Windows bat script UTF-8 encoding and display issues.
- Fixed ctrl room regular messages not injected mid-turn during group chat processing.
- Fixed
flush_queued_messagesfor pending immediate messages.
V0.3.3 - 系统维护与 WebSocket 事件
核心变更
- 新功能:
- 系统维护中新增数据库备份功能。
- 新增 Agent 历史记录清理和加入房间时的同步机制。
hot_reload_team后发布TEAM_RELOADED事件并通过 WebSocket 转发。- 新增 Windows 前端调试脚本 (
scripts/windows/run_in_frontend.bat)。 - 新增 LLM reasoning tool choice 的请求规则。
- 优化:
- 简化团队预设导出;重命名配置类型(
TeamConfig→TeamPreset、RoleTemplateConfig→RoleTemplatePreset等)。 - 简化房间消息懒加载和 Agent 活动管理。
- 重构 LLM 服务模块结构。
- 简化团队预设导出;重命名配置类型(
- 修复:
- 修复活动列表布局和 AgentActivityDialog 底部间距问题。
- 修复
AGENT_STATE被错误排除在活动 API 之外。 - 修复
upsert_room后未发布ROOM_ADDED事件导致前端不同步。 - 修复工具 schema 数组 items 生成和不支持类型拒绝问题。
- 修复切换模型时 thinking mode 缺失
reasoning_content。 - 修复未注册的工具调用未被优雅处理。
- 修复 WebSocket 事件中房间标准化时 operator id (-1) 丢失。
- 修复 Windows bat 脚本 UTF-8 编码和显示问题。
- 修复群聊处理中 ctrl room 消息未在轮次中间注入的问题。
- 修复
flush_queued_messages对 pending immediate 消息的兜底处理。
Full Changelog: v0.3.2...v0.3.3
TogoSpace v0.3.2
V0.3.2 - Task-driven Agent Execution
Key Changes
- Features:
- Agents will receive reminders when there are available tasks and will continue to work until completion.
- Support for renaming chat rooms from the console.
- Added
TASK_RECEIVEDactivity type for better visibility of agent tasks.
- Improvements:
- Improved agent system prompts for better collaboration and task execution.
- Fixes:
- Prevented potential infinite loops in agent action processing.
- Fixed issues with department manager conflicts during updates.
- Corrected status publishing in scheduler.
V0.3.2 - 任务驱动 Agent 执行
核心变更
- 新功能:
- 在存在可用任务时 Agent 会得到提醒,并且会持续工作到完成。
- 支持从控制台对聊天室进行重命名。
- 新增
TASK_RECEIVED活动类型,提升 Agent 任务进度的可见性。
- 优化:
- 改进了 Agent 系统提示词(System Prompt),提升团队协作与任务执行效果。
- 修复:
- 修复了 Agent 行动处理中可能出现的无限循环问题。
- 修复了部门更新时主管冲突的校验逻辑。
- 修正了调度状态发布时使用的枚举值问题。
TogoSpace v0.3.1
chore: bump version to v0.3.1