kevinforge
kevinforge
In s08_background_tasks.py, background task results are delivered via a pull-based notification queue that is only drained before each LLM call. However, if the LLM decides it has no more work...
Hi there, I'm currently using **OpenSpec** to manage task completion — specifically, it helps generate a series of to-do items before I start working on a task. Recently, I came...
创建了一个skills,实现先生成py脚本,再执行脚本获取结果,但实际运行中会出现脚本没有生成完,就调用了ShellCommandTool工具导致报错2D:\miniconda3\python.exe: can't open file 'D:\\tmp\\query_20240130_151809.py': [Errno 2] No such file or directory
## Problem Description The `compressIfNeeded()` method currently returns `true` immediately after any compression strategy succeeds, **without checking if the context still exceeds the threshold after compression**. ## Current Behavior ```java...
--- Issue Body ### Problem In the current ReActAgent implementation, all tool execution results go through the full ReAct loop: Tool executes → Result added to memory → Model processes...
## Feature Request Add support for including individual document summaries in the system prompt when using multiple knowledge bases in RAG mode. ## Current Behavior When working with multiple documents...
# RAG 检索结果流式输出需求 ## 需求描述 当前 `GenericRAGHook` 将知识库检索结果作为 SYSTEM 消息注入到 LLM 输入,但调用方无法直接获取检索到的文档元数据(如Document、score、docId、chunkId 等)。 ### 期望行为 希望调用方在流式响应中能够像获取工具调用(TOOL_RESULT)和工具结果一样,获取 RAG 检索结果的完整信息,而不仅仅是 LLM 生成的文本摘要。 调用方需要能够访问到: - 检索到的文档列表 - 每个文档的元数据 - 在流式响应中作为独立事件返回 ## 背景 -...
# SubAgentTool.forwardEvent 方法实现疑问 ## 问题描述 在 `SubAgentTool.forwardEvent` 方法中,Event 对象包含 Msg,Msg 的 `content` 是 `List`,包含多种类型(TextBlock、ThinkingBlock、ToolUseContentBlock、ToolResultContentBlock 等)。 当前实现将 Event 序列化成 JSON 字符串,然后作为 TextBlock 的 text 传递,这样会导致 ContentBlock 的类型信息丢失。 ## 问题代码 ```java private...
## 摘要 在 `agentscope-examples` 里,**没有任何一个 demo 同时具备"多用户"和"同一会话多端实时同步"**(即"在另一个设备打开同一个会话能实时看到更新"的体验,类似钉钉)。所需的基础能力其实都有,但没有参考应用把它们组装起来。 ## 当前覆盖情况 | 能力 | 现状 | |---|---| | 多用户 + 鉴权 | `agentscope-dataagent`(`AuthController` / `UserController` / `AdminUserController`) | | 多渠道触达 | `dataagent`、`agentscope-service`(aistiod)...