suantea

Results comments of suantea

Following up on the current state of #292 — this request has actually landed in two steps: **1. Manual discovery (merged, #649 / v0.6.2)** Custom endpoints now have a "Fetch...

感谢反馈!这是我实现的探针功能(#730)的缺陷,已定位根因: **原因**:`server/src/services/model-discovery.ts` 的 `probeEndpointModel()` 为省 token 把探针请求固定成 `max_tokens: 1`(`{ max_tokens: 1 }`),而 b.ai 的 deepseek-v4-flash 要求 `max_tokens > 2`,因此返回 400。 **修复方案**:把探针的 `max_tokens` 从 1 提到一个合规的小值(如 4),既满足各家下限又保持探针开销极低。我可以在本地改掉并提一个小 PR(遵循上游小步 PR 风格)。要我现在提吗?

@tashfeenahmed 感谢快速确认并修复(#917)——与我的诊断一致,我也赞成通用修复而非 b.ai 特例:`max_tokens` 下限并非某一家中转独有,探针每请求多 3 个 token 的成本可忽略;`PROBE_MAX_TOKENS` 导出常量 + 断言下限的回归测试(`max_tokens

已实现 命令的基础框架。由于架构限制(命令在 agent 执行前分发),完整的中途注入功能需要更深入的改动。PR: https://github.com/suantea/QwenPaw/pull/2

我来认领这个。目标:在 Models 页面加一个"快速添加模型"入口,把"填入 API Key + 添加模型 ID"收敛到一步。改动范围:RemoteProviderCard.tsx(加 Quick Add 按钮)+ RemoteModelManageModal.tsx(新增 inline quick-add 表单)+ i18n 翻译。

你好,感谢提交这个功能请求!我做了代码调查,先把现状和可行方案说清楚,供你确认需求细节。 ## 现状调查 1. **插件注入 system prompt 的入口已存在**:`register_prompt_section`(`plugins/api.py`)允许插件注册命名 prompt section,存入 `PluginRegistry._prompt_sections`(`PromptSectionRegistration`:plugin_id / name / after / agent_id / provider)。 2. **但该机制目前没有接入运行时 prompt 组装**:消费 `get_prompt_sections()` 的 `agents/prompt_builder.py` 里的 `PromptBuilder` 在全库**没有任何运行时实例化点**(仅 `registry.py`...

收到,理解你的场景了——「插件注入的提示词对用户隐藏但仍发给模型」,并且你发现走 Provider 直连后端提交这条路能满足需求、且对话不会出现在主界面。这确实是当前可行的绕过方案。若之后想走插件路径,我可以在插件侧给一个最小可用的注入示例。感谢反馈!

Hi, thanks for the detailed report! I investigated this against the pinned dependency version (`agentscope==2.0.4.post1`, as locked in `pyproject.toml` for v2.1.0) and **could not reproduce the contract mismatch** — in...

明白,容器重置后恢复正常就说明是运行态环境问题而非代码逻辑问题。感谢确认!如果后续能稳定复现,随时可以提供复现步骤,我再跟进。