Repository navigation
Conversation
CXSforHPU
marked this pull request as draft
November 10, 2026 15:33
CXSforHPU
marked this pull request as ready for review
November 10, 2026 16:32
A2A 通道跑在 webnet 之上,选中它时连带打开 webnet 与 CGI。能力卡的名字和 描述单独给两个选项,默认值与包内实现一致。
原来 upload/download/stt/tts 各有一个选项,填的时候要重复写域名和端口, 漏一个就只坏一条链路。合并成一个 PKG_AGENT_WEB_SERVER_URL, 只填到端口,接口路径由板端代码自己拼。 注意:云端模型按同一个地址取文件,这个地址仍然要公网可达。
文件服务器与 MCP 网关的地址从 Multimodal 和 MCP Client 两个菜单 移到新的 External Server 菜单,符号名不变,原来的 .config 值继续有效。 菜单里加 choice 选手动填死或启动时自动获取。自动模式多三个选项: 控制台地址、接口路径、读响应超时。
控制台地址提到 External Server 菜单的公共段,两种模式都填。 文件服务器地址与 MCP 地址移入手动分支,只有手动模式才出现。 自动模式只填控制台地址,另两个由控制台下发。 符号名都没变,原来的 .config 值继续有效。
QEMU 从 SLIRP 改成 TAP 网桥,板子接 Windows 共享出来的那张网卡, 宿主机在共享网段上是 192.168.137.1。 控制台、文件服务器、MCP 网关三个地址的默认值跟着改, 菜单帮助里的 QEMU 例子也换掉。符号名没变,原来的 .config 值继续有效。
CXSforHPU
marked this pull request as draft
November 12, 2026 10:35
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
新增配置项
LLM 端点
PKG_AGENT_API_PROTOCOL_SEL:协议选择,OpenAI 或 AnthropicPKG_AGENT_API_BASE_URL_OPENAI,默认https://api.deepseek.comPKG_AGENT_API_BASE_URL_ANTHROPIC,默认https://api.deepseek.com/anthropicPKG_AGENT_ANTHROPIC_VERSION、PKG_AGENT_ANTHROPIC_MAX_TOKENS,仅在选中 Anthropic 时显示语音合成
PKG_AGENT_TTS_MODE_SEL、PKG_AGENT_TTS_URL、PKG_AGENT_TTS_SAVE_FILE、PKG_AGENT_TTS_AUTO_PLAY技能
PKG_AGENT_SKILL_DIR,内嵌 Markdown 技能目录,默认skills工具
PKG_AGENT_TOOL_LOOP_MAX,一次请求最多跑几轮工具调用,默认 6,范围 1~32PKG_AGENT_TOOL_DEVICE与 CORE、PIN、PWM、ADC、DAC、I2C、SPI、SENSOR、LED八个类模块开关
PKG_AGENT_TOOL_MCP_ENABLE,以及PKG_AGENT_MCP_SERVER_URL、MAX_TOOLS、TIMEOUT_MS、RESP_BUFSZ四项菜单重排
原先
Agent Runtime Configuration把模型端点、多模态、文件服务器、语音和音频驱动全塞在一起,STT/TTS 嵌在文件服务器下面,音频驱动又被多模态开关
裹住。现在拆成:
Model & Endpoint:密钥、模型名、协议、两份 base URLMultimodal:开关,下面是平级的File Server与Speech,Speech再分STT与TTSAudio DriverCommunication Channel其余:
Agent Driver改名Audio Driver,隐藏的 vsnprintf 判定符号从顶层移进
Agent Build Options。破坏性变更
PKG_AGENT_API_URL移除,拆成两份 base URL。、请求地址由包代码按协议拼:base URL 加
/chat/completions或/v1/messages,切协议时地址跟着换。其余选项的默认值和依赖关系没变。