agentscope-java
agentscope-java copied to clipboard
AgentScope Java: Agent-Oriented Programming for Building LLM Applications
文件系统使用mysql时启动初始化报错 原因是 utf8mb4 下每字符 4 字节,复合主键 = 768*4 + 190*4 = 3832 字节,超过 InnoDB 索引限制 3072 字节 ,所以建表失败 抛 Failed to initialize JdbcStore schema for table agentscope_store 。
### Summary A middleware can filter `ActingInput.toolCalls()` in `onActing`, but there is no way to write the corresponding `ToolResultBlock` for a removed/denied call. As a result, a policy middleware that...
### Summary `Fabric8KubernetesPodRuntime.createPod()` provides no way to set a pod/container `securityContext`. For untrusted code-execution sandboxes this blocks standard pod hardening. ### Details `createPod()` builds `PodSpecBuilder` + `ContainerBuilder` with restartPolicy, image,...
**Describe the bug** `SkillFilter` does not work as expected when a user specifies a skill name via `SkillFilter.only("host-forensics-client")` on `HarnessAgent`. Inside `io.agentscope.harness.agent.skill.runtime.SkillPromptBuilder#render(SkillCatalog, SkillFilter)`, the code calls `effective.isAllowed(id)` where `id` is...
## 版本 - agentscope-harness: 2.0.0-RC3 - JDK: 21 ## 问题描述 ```java @Slf4j @Component @RequiredArgsConstructor public class DBAgentStateStore implements AgentStateStore { // ... } @Slf4j @Component @RequiredArgsConstructor public class DBFileSystemStore implements...
NullPointerException in OllamaChatModel.doStream when MemoryFlushManager passes null GenerateOptions
## Description When using `HarnessAgent` with `OllamaChatModel` in AgentScope Java `2.0.0-RC3`, the main agent response can be generated successfully, but the call fails afterward during memory flushing. The exception is:...
## Summary - add RuntimeContext.fork() to carry string extras, typed attributes, and ToolExecutionContext into child calls - pass the parent RuntimeContext through harness subagent invocation paths - add regression tests...
### 影响版本 AgentScope Java SDK 2.0.0-RC3 ### 问题描述 Agent 使用 `skill_manage` 工具先调用 `create` 创建 skill,紧接着在同一轮调用 `write_file` 写入参考文档时,返回 `Error: Skill 'xxx' not found`。 ### 复现步骤 1. Agent 调用 `skill_manage`,action=`create`,name=`product-guide2` 2. 返回成功:`Skill...
## 改动说明 为 `GenerateOptions` 新增 `enableThinking` 字段,使 Hook 能够按轮次动态控制 `enable_thinking`(此前只能控制 `thinking_budget`)。 ## 修改内容 - `GenerateOptions`:新增 `enableThinking` 字段、getter、Builder 方法及 mergeOptions 合并逻辑 - `DashScopeChatModel.applyThinkingMode()`:优先取 options 级别的值,未设置时 fallback 到模型级别的固定值 ## 向后兼容 完全向后兼容。当 `options.getEnableThinking()`...
AguiAgentAdapter.run(req);没有办法设置RuntimeContext 底层调用的agent默认传的是空 public Flux stream(List msgs, StreamOptions options) { return wrappedStream(RuntimeContext.empty(), () -> delegate.stream(msgs, options)); } 那怎么区分userId和sessionId。