CSXizhang
CSXizhang
### Description When result_as_answer=True, the final task output contains the original tool result instead of the value returned by the after-tool hook. Reproduced with both Agent.execute_task and Agent.aexecute_task on the...
**Describe the bug** `schema.ConcatToolResults` returns a conflict when a single chunk contains two parts of the same non-text type. For two images in chunk 0, the error says `chunk 0...
**Describe the bug** `WrapToolWithErrorHandler` accepts an `InferEnhancedTool`, but returns the original tool without calling the supplied error handler. The same handler works with `InferTool`. Is support for enhanced tools intended...
### 你运行的 Kimi Code 版本是? 0.38.0。更新后为 0.39.1,其系统提示描述的压缩设计相同(逐字保留用户消息 + 第一人称摘要 + 追加 TODO 列表),该机制并未变化。 并已直接核对最新源码(HEAD,0.40.1;v1 packages/agent-core 与 v2 packages/agent-core-v2 设计相同): 摘要仍以 user 角色注入:agent-core/src/agent/context/index.ts 的 applyCompaction 构造 summaryMessage: { role: 'user', ......
**Describe the bug** `run_batch_function` executes blocking synchronous callbacks serially even when `sequential=False`. Could you clarify whether concurrent execution is intended for this mode? **To Reproduce** 1. Install Langroid 0.68.1 from...
**Describe the bug** `ToolMessage.llm_function_schema()` marks a field with `Field(default_factory=list)` as required, even though Pydantic accepts the field being omitted. A field with a static `[]` default remains optional. This happens...
**Describe the bug** Initializing `TableChatAgent` with a DataFrame containing only text columns raises `ValueError: Unknown format code 'f' for object of type 'str'`. **To Reproduce** 1. Install `langroid==0.68.1` and `pandas==2.2.3`...
**Describe the bug** `CodeParser.split()` gives sibling chunks the same metadata object as their source document. `Parser.add_window_ids()` then overwrites the IDs and neighbor windows of sibling chunks and mutates the source...