instance_id stringlengths 10 65 | repo stringlengths 5 59 | pr_number int64 1 313k | task_type stringclasses 1
value | base_commit stringlengths 40 40 | review_commit stringlengths 40 40 | title stringlengths 2 282 | body stringlengths 7 3k | patch stringlengths 202 204k | n_defects int64 1 72 | n_supported int64 1 65 | n_major int64 0 32 | defects stringlengths 140 18.8k | certifier_count int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
agentscope-ai__QwenPaw__3773 | agentscope-ai/QwenPaw | 3,773 | defect | fca708c0109a17662c8e17a336cfe9e09ba41184 | f8eda7069ccc5951f8daa6025f622e3ee502036c | Fix(Provider): Fix warning when adding a model | ## Description
This pull request adds robust duplicate model ID detection and handling when adding models, both in the UI and backend, and improves input sanitization for provider configurations. It also introduces new user-facing messages in multiple languages and adds a unit test to ensure duplicate models cannot ... | diff --git a/console/src/locales/en.json b/console/src/locales/en.json
index 812a3807b24..828a8b69541 100644
--- a/console/src/locales/en.json
+++ b/console/src/locales/en.json
@@ -1059,6 +1059,7 @@
"modelNamePlaceholder": "e.g. GPT-4o, Gemini 2.0 Flash",
"modelAdded": "Model \"{{name}}\" added",
"modelA... | 2 | 2 | 2 | [{"id": "G0", "claim": "model_info.id (and optionally model_info.name) should be normalized (e.g. stripped of whitespace) in add_model_to_provider or Provider.add_model before the duplicate check and before saving to disk, because the API passes body.id through untrimmed and whitespace IDs could evade later duplicate d... | null |
agentscope-ai__agentscope-java__1002 | agentscope-ai/agentscope-java | 1,002 | defect | f33255064efbe81ce4c4aa6999dd0ff2c004d5a6 | b6ae90e5c368cb4dddf721982dd0d9369a97b9e2 | fix(core): ignore hidden files when loading skill resources |
## Description
Close #1000
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `mvn spotless:apply`
- [ ] All tests are passing (`mvn test`)
- [ ] Javadoc comments are complete and follow project conventions
- [ ] Related documentati... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/util/SkillFileSystemHelper.java b/agentscope-core/src/main/java/io/agentscope/core/skill/util/SkillFileSystemHelper.java
index 554fd0a899..1eb0b1109e 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/util/SkillFileSystemHelper.java
++... | 5 | 5 | 3 | [{"id": "G0", "claim": "The dot-file check only looks at the last path segment, so files under hidden directories (e.g. .git/config) are still loaded; dot-hidden directories should be filtered out directly instead of being walked through and filtered afterwards.", "category": "correctness", "verdict": "supported", "pri... | null |
agentscope-ai__agentscope-java__1006 | agentscope-ai/agentscope-java | 1,006 | defect | 9a529c3376cd543f50e5545faaae5df9c2dbcf08 | 85f2535a19daad3958c0f626086ffb34374a7521 | feat(session): Improve mysql session sql | ## AgentScope-Java Version
1.0.11
## Description
- Closes: #991
- Closes: #992
- Use DATETIME instead of TIMESTAMP for mysql field
- Use TRUNCATE instead of DELETE from table
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mv... | diff --git a/agentscope-extensions/agentscope-extensions-session-mysql/src/main/java/io/agentscope/core/session/mysql/MysqlSession.java b/agentscope-extensions/agentscope-extensions-session-mysql/src/main/java/io/agentscope/core/session/mysql/MysqlSession.java
index 0492a685ba..ff0bbafd37 100644
--- a/agentscope-extens... | 1 | 1 | 1 | [{"id": "G0", "claim": "The Javadoc of clearAllSessions says \"@return Number of rows deleted\" but TRUNCATE TABLE via JDBC executeUpdate() typically returns 0 and requires DROP privileges in MySQL, so the docs should be clarified.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
agentscope-ai__agentscope-java__1008 | agentscope-ai/agentscope-java | 1,008 | defect | 9a529c3376cd543f50e5545faaae5df9c2dbcf08 | 00a3bf6e261c1bd9c1034ef4923021c10544477d | fix(ollama): ensure stable message ID for streaming responses |
## Description
Close #897
Fixed the issue of Olama streaming output generating different UUIDs for each data block due to the underlying layer not returning an ID. By caching and reusing the ID of the first data block during the lifecycle of the stream, it ensures that downstream AG-UI clients can receive stable... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/model/OllamaChatModel.java b/agentscope-core/src/main/java/io/agentscope/core/model/OllamaChatModel.java
index 73d3d27cec..80f1448605 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/model/OllamaChatModel.java
+++ b/agentscope-core/src/main/java... | 2 | 1 | 0 | [{"id": "G0", "claim": "The mutable String[] finalStableId is a hard-to-read workaround for the effectively-final lambda rule; use an AtomicReference<String> (or holder) named stableIdRef instead.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "M... | null |
agentscope-ai__agentscope-java__1011 | agentscope-ai/agentscope-java | 1,011 | defect | 9a529c3376cd543f50e5545faaae5df9c2dbcf08 | ca44326f512a0123ccb5d36e6fb63fe01df53afb | fix(generate_response): Fix flaky concurrent tests for generate_response | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.9, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
### **Background**
The unit test code `testConcurrencyConflictStructuredOutput ` contains... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/agent/StructuredOutputCapableAgent.java b/agentscope-core/src/main/java/io/agentscope/core/agent/StructuredOutputCapableAgent.java
index 5ab24d27d4..06a5eaeeae 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/agent/StructuredOutputCapableAgent.j... | 1 | 1 | 0 | [{"id": "G0", "claim": "The @RepeatedTest(25000) race test should be skipped by default or run less often so it does not bloat CI reports.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__1031 | agentscope-ai/agentscope-java | 1,031 | defect | a73cf34039147ef458f2e7b731d02dcd16f347ab | 85cbdc31b963a9935fa2b044edaf750f06da3485 | fix(skill): Remove Windows reserved characters from FileSystemSkillRepository source (#947) | ## Problem
On Windows systems, `FileSystemSkillRepository.buildDefaultSourceSuffix()` generates source strings containing Windows reserved characters (e.g., `C:` drive colon), causing `InvalidPathException` when AgentScope tries to
create files or directories with these names.
Error example from #947:
jav... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/repository/FileSystemSkillRepository.java b/agentscope-core/src/main/java/io/agentscope/core/skill/repository/FileSystemSkillRepository.java
index eb36095920..4bbadbfdec 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/repository/Fil... | 2 | 2 | 0 | [{"id": "G0", "claim": "The restructuring to strip ':' (and other reserved characters) in buildDefaultSourceSuffix is unmotivated because the source generated for the issue's case contains no ':' character.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "... | null |
agentscope-ai__agentscope-java__1042 | agentscope-ai/agentscope-java | 1,042 | defect | 59fa986bb3464788487dc5d3b6f6f4b8a7dd5c17 | fc93d095dd64884b64ee34cdfd59f29916dd5ed5 | fix(autocontext): preserve tool_calls/tool_result pairing during large message offloading |
In offloadingLargePayload (Strategy 2/3), messages were offloaded as plain TextBlock stubs regardless of role, which caused two bugs:
1. ASSISTANT messages with ToolUseBlock (tool_calls) were stripped of their ToolUseBlock when offloaded. The subsequent TOOL result messages then had no preceding tool_calls message... | diff --git a/agentscope-extensions/agentscope-extensions-autocontext-memory/src/main/java/io/agentscope/core/memory/autocontext/AutoContextMemory.java b/agentscope-extensions/agentscope-extensions-autocontext-memory/src/main/java/io/agentscope/core/memory/autocontext/AutoContextMemory.java
index 32fb30c5e4..6cd34af9e3 ... | 4 | 1 | 1 | [{"id": "G0", "claim": "The test `testToolCallPairingIntegrityAfterMixedOffloading` does not assert that any offloading actually occurred; it should assert the large USER message was replaced with an offload hint containing `_compress_meta.offloaduuid` so it cannot pass without covering the offloading path.", "category... | null |
agentscope-ai__agentscope-java__1043 | agentscope-ai/agentscope-java | 1,043 | defect | dde0cbc4e61b16d45dacef513e015cdc986e4a94 | ebbc54c00d1b018a7832e1d55fb23b43fa8e8ccb | fix(skill): ignore complex YAML frontmatter to prevent parsing errors | ## Description
Close #1030
This PR updates the internal `SimpleYamlParser` to gracefully skip unsupported block-style complex structures (like lists or nested objects) instead of throwing exceptions.
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/util/MarkdownSkillParser.java b/agentscope-core/src/main/java/io/agentscope/core/skill/util/MarkdownSkillParser.java
index 5bce28cedf..d7d5201d2f 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/util/MarkdownSkillParser.java
+++ b/ag... | 3 | 3 | 2 | [{"id": "G0", "claim": "Dropping entries whose parsed value is empty makes legitimate empty-string scalars (e.g. `empty:`, `empty: \"\"`) impossible to represent and breaks generate→parse round-trips, and the updated test codifies the loss instead of distinguishing empty scalars from block-style complex values.", "cate... | null |
agentscope-ai__agentscope-java__1048 | agentscope-ai/agentscope-java | 1,048 | defect | 95b775b296c6ac0bd751694cc0c49d3712600c5a | e1a72cf0328dca96d6294c813831c0fc40f31250 | fix(rag): Add missing payload for ElasticsearchStore | ## AgentScope-Java Version
1.0.11
## Description
* Fixes: #1044
* Add missing payload for `ElasticsearchStore`
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x]... | diff --git a/agentscope-extensions/agentscope-extensions-rag-simple/src/main/java/io/agentscope/core/rag/store/ElasticsearchStore.java b/agentscope-extensions/agentscope-extensions-rag-simple/src/main/java/io/agentscope/core/rag/store/ElasticsearchStore.java
index 897710baf0..afc8fee2ee 100644
--- a/agentscope-extensio... | 1 | 1 | 1 | [{"id": "G0", "claim": "The write path correctly stores the payload (L408-L411), but mapFromEsHit() misses the payload — it still uses the 3-arg DocumentMetadata constructor instead of retrieving the payload from the ES hit source.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introdu... | null |
agentscope-ai__agentscope-java__1077 | agentscope-ai/agentscope-java | 1,077 | defect | c96bd38e97b5fe538e20e993b173caf3c629a767 | affa9e2bba993561af8241ec55b1cd6f03cf244f | fix(tool): hoist $defs to schema root for nested object $ref resolution (#893) | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.9, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
close #893
## Checklist
Please check the following items before code is ready to be re... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaGenerator.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaGenerator.java
index 42c32b2f6b..c8755b4bbb 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaGenerator.java
+++ b/agentscope-core/src/... | 4 | 1 | 0 | [{"id": "G0", "claim": "Avoid printing to stdout in unit tests; remove the System.out.println of the generated schema in testNestedObjectWithRefIssue893 or replace it with an assertion-based check / test logger.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
agentscope-ai__agentscope-java__1091 | agentscope-ai/agentscope-java | 1,091 | defect | 615530bc00c206a2f70b216d90bb0f7012f8da45 | 94174dda4c37f2ab93aaef04f7ad91c4a5aaa417 | fix(session-mysql): commit writes when auto-commit is disabled | ## AgentScope-Java Version
1.0.11
## Description
Fixes:MysqlSession Can Not Save New Sessions when auto-commit=false #1087
- use explicit transaction handling for write methods
- commit writes for save/delete/clear/truncate
- restore the original `autoCommit` state
- add regression tests
Tests:
- `mvn... | diff --git a/agentscope-extensions/agentscope-extensions-session-mysql/src/main/java/io/agentscope/core/session/mysql/MysqlSession.java b/agentscope-extensions/agentscope-extensions-session-mysql/src/main/java/io/agentscope/core/session/mysql/MysqlSession.java
index f60ff3eeae..d9f690131d 100644
--- a/agentscope-extens... | 1 | 1 | 0 | [{"id": "G0", "claim": "TRUNCATE triggers an implicit commit in MySQL and is not rollbackable, making the executeInWriteTransaction wrapper redundant and misleading; please either execute the TRUNCATE directly or document this DDL behavior in the Javadoc.", "category": "design", "verdict": "supported", "priority": "P2"... | null |
agentscope-ai__agentscope-java__1148 | agentscope-ai/agentscope-java | 1,148 | defect | 46e8ba92625ffaedf4864d551eb8fff599348593 | 0edab1b054720d05f7b9dd00532952662854811c | fix: sanitize tool call arguments JSON on interrupted streaming to prevent 400 errors | ## Summary
- When streaming tool call responses are interrupted mid-arguments, the partially accumulated JSON (e.g. `{"query": "hello wor`) was saved to memory and sent as-is in subsequent API requests, causing DashScope (百炼) to reject with HTTP 400 due to invalid JSON in tool call arguments.
- This fix adds JSON vali... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/agent/accumulator/ToolCallsAccumulator.java b/agentscope-core/src/main/java/io/agentscope/core/agent/accumulator/ToolCallsAccumulator.java
index 289e02382a..d92355784f 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/agent/accumulator/ToolCallsA... | 6 | 6 | 5 | [{"id": "G0", "claim": "In ToolCallBuilder.build(), contentStr is set to rawContentStr whenever finalArgs is non-empty, but populated args don't guarantee rawContentStr is valid JSON, so malformed JSON can still be persisted; validate rawContentStr (and ensure it is a JSON object) before using it, otherwise fall back t... | null |
agentscope-ai__agentscope-java__1155 | agentscope-ai/agentscope-java | 1,155 | defect | 46e8ba92625ffaedf4864d551eb8fff599348593 | fffd51c68730bb021f1dd2023a97a840adedeb3a | refactor(hook): change PreCallEvent related comments from read-only to modifiable, aligning with PreReasoningEvent | ## Description
This PR updates PreCallEvent to be modifiable (revising the previous read-only comments), and aligns its inputMessages handling with PreReasoningEvent.
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `mvn spotless:apply`
... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/hook/Hook.java b/agentscope-core/src/main/java/io/agentscope/core/hook/Hook.java
index a48465be5f..7cdaf939d9 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/hook/Hook.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/hook/Hook.java
@... | 2 | 2 | 0 | [{"id": "G0", "claim": "The Javadoc for getMemory() wrongly says the agent's memory \"includes input messages already added\" although PreCallEvent is fired from AgentBase.notifyPreCall(...) before doCall(...) runs, so it typically does not include the current call's input messages; the description should be adjusted (... | null |
agentscope-ai__agentscope-java__1170 | agentscope-ai/agentscope-java | 1,170 | defect | de01c66306697461a530348be8976ba51f162ee7 | ba8e0420547f7ef524aa126dde74fe4bc5a1e214 | fix(tool): allow null for optional nested object fields | ## AgentScope-Java Version
1.0.12-SNAPSHOT
## Description
Fixes #1163
### Background
When a tool parameter contains a nested object, AgentScope-Java currently treats these two cases differently for optional fields:
1. The optional field is omitted
2. The optional field is explicitly set to `null`
... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolValidator.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolValidator.java
index 8ae733cfd0..91aae32bf2 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolValidator.java
+++ b/agentscope-core/src/main/java/io/agent... | 3 | 3 | 2 | [{"id": "G0", "claim": "Pruning all null-valued object properties before schema validation can let invalid inputs pass when the schema is strict (e.g. additionalProperties: false), because an unknown field provided as null is removed before it can be reported; the reviewer suggests restricting pruning to schema-declare... | null |
agentscope-ai__agentscope-java__1174 | agentscope-ai/agentscope-java | 1,174 | defect | de01c66306697461a530348be8976ba51f162ee7 | feb0dcb5dca796bf3ec07d5b4601370a1e0e5bb8 | feat(gemini): add baseUrl builder support | ## AgentScope-Java Version
1.0.12-SNAPSHOT
## Description
### Background
Issue #1127 requests a simpler way to configure a custom `baseUrl` for Gemini.
The underlying Google GenAI SDK already supports endpoint override through `HttpOptions`, but AgentScope-Java currently exposes that only through the lower-level `... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/model/GeminiChatModel.java b/agentscope-core/src/main/java/io/agentscope/core/model/GeminiChatModel.java
index ba35cc0669..58829f865c 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/model/GeminiChatModel.java
+++ b/agentscope-core/src/main/java... | 2 | 2 | 0 | [{"id": "G1", "claim": "The nested ternary computing this.httpOptions in the constructor is hard to read and easy to get wrong; it should be rewritten as a small block or helper method with clear branches for the three cases (no baseUrl, baseUrl with null httpOptions, baseUrl with existing httpOptions).", "category": "... | null |
agentscope-ai__agentscope-java__193 | agentscope-ai/agentscope-java | 193 | defect | bcc2dcd74ee18d2c061b3565adaf0e00af0b5790 | 273787d162c5f84f7a188cc0bac8e204f35e849f | feat(chat): Enhance message content retrieval and streaming output | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.2, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
1.0.3-SNAPSHOT
## Description
[Please describe the background, purpose, changes made, and how to test th... | diff --git a/agentscope-examples/quickstart/src/main/java/io/agentscope/examples/quickstart/ExampleUtils.java b/agentscope-examples/quickstart/src/main/java/io/agentscope/examples/quickstart/ExampleUtils.java
index e57ec1c5c4..078e73868c 100644
--- a/agentscope-examples/quickstart/src/main/java/io/agentscope/examples/q... | 7 | 6 | 0 | [{"id": "G0", "claim": "ThinkingBlock and ContentBlock are used fully qualified while TextBlock is imported; add imports for consistency and readability.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The streaming logic for ThinkingBlock and Te... | null |
agentscope-ai__agentscope-java__199 | agentscope-ai/agentscope-java | 199 | defect | 17e963b6a73395da08bf409d62e6d06301ab7da3 | 0c3345bf8e9501af64d12a82df65b8d1ec80ba7a | feat: Allow finishing subtasks with a specified state and outcome. | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.2, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
fix #198
... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/plan/model/SubTask.java b/agentscope-core/src/main/java/io/agentscope/core/plan/model/SubTask.java
index 62cdc1e9f3..0c2377df34 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/plan/model/SubTask.java
+++ b/agentscope-core/src/main/java/io/agent... | 2 | 2 | 2 | [{"id": "G0", "claim": "The new finish(SubTaskState, String) method should validate that the provided state is a terminal state (DONE or ABANDONED) instead of accepting any SubTaskState value such as TODO or IN_PROGRESS.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id... | null |
agentscope-ai__agentscope-java__205 | agentscope-ai/agentscope-java | 205 | defect | 9b3c924b5c1f7fa2309671e7e55314aa98d471d1 | 67d896b674f83a4f43ee94b80da9eb450451eb6c | feat: Implement array and collection `items` schema generation in ToolSchemaGenerator and add a corresponding test. |
## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.2, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
fixes: #... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaGenerator.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaGenerator.java
index fa4685370f..ddaee5aa55 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaGenerator.java
+++ b/agentscope-core/src/... | 5 | 3 | 1 | [{"id": "G0", "claim": "The test only covers array types (String[]) while the implementation also supports Collection types, so a test case for parameterized Collection types like List<String> or Set<Integer> should be added to ensure the generic type extraction logic works correctly.", "category": "testing", "verdict"... | null |
agentscope-ai__agentscope-java__223 | agentscope-ai/agentscope-java | 223 | defect | 22f7eb3d3e21ebd8553d639aaa8c4812988345e9 | 7b0ca36036b39eeccfe7a9cc42be6173f4c97b1e | feat(core): Add a security verification tool class and add a custom FanoutPipeline scheduler | ## AgentScope-Java Version
1.0.2
[The version of AgentScope-Java you are working on, e.g. 1.0.2, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
Add a security verification tool class and add a custom FanoutPipeline scheduler
[Plea... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/message/Msg.java b/agentscope-core/src/main/java/io/agentscope/core/message/Msg.java
index bfa01900b8..322e4890f4 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/message/Msg.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/message/Ms... | 1 | 1 | 1 | [{"id": "G0", "claim": "Please increase test coverage for the new code flagged by Codecov as missing or partially covered (TypeUtils and FanoutPipeline lines).", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__318 | agentscope-ai/agentscope-java | 318 | defect | 08611236556561ea63a7151a873c71077b56714e | 57d9373c4be88ea45e778587c89409b0f1a034fb | feat(rag): add ExternalApiReader for third-party document parsing int… | Closes #317
This PR adds a generic `ExternalApiReader` to enable seamless integration with third-party document parsing services in the RAG module.
## Changes Made
- Add generic external API document parsing reader
- Support custom HTTP request construction and response parsing
- Support polling for asynchro... | diff --git a/agentscope-extensions/agentscope-extensions-rag-simple/src/main/java/io/agentscope/core/rag/reader/ExternalApiReader.java b/agentscope-extensions/agentscope-extensions-rag-simple/src/main/java/io/agentscope/core/rag/reader/ExternalApiReader.java
new file mode 100644
index 0000000000..3780e880c9
--- /dev/nu... | 20 | 16 | 1 | [{"id": "G0", "claim": "The test's inline comments 'Mock提交任务响应', 'Mock轮询响应 - 第一次pending' and 'Mock轮询响应 - 第二次completed' are in Chinese and should be translated to English per the project's coding guidelines.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cl... | null |
agentscope-ai__agentscope-java__323 | agentscope-ai/agentscope-java | 323 | defect | 33d7235ece40d4ef982aa8584d1010c733e082d0 | e27379ee565582461b3062e92bb8c2a66e0eb312 | feat:mcp support queryParam | Change-Id: I87255d1af26d4c210689b23368d76891cc9ccc5e
## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.3, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
feat:https://github.com/agentscope-ai/... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java b/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
index 5503204af7..1d7b352d88 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
+++ b/agentscope-core/s... | 7 | 6 | 5 | [{"id": "G0", "claim": "The query-parameter API (addQueryParam, setQueryParams, and the public queryParam/queryParams builders) does not validate for null keys, values or maps, so nulls are stored and can cause a NullPointerException later when building the query string; null checks throwing IllegalArgumentException sh... | null |
agentscope-ai__agentscope-java__338 | agentscope-ai/agentscope-java | 338 | defect | 8fcf2f411a32a51a88b649e89bdc2fb3f32168cd | 38ef05fceb0f6649e55ef0b9942aef23deb63670 | feat(core): Add JDK HTTP client in chat model | ## AgentScope-Java Version
1.0.4-SNAPSHOT
## Description
Closes #221
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x] Javadoc comments are complete and follow proj... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/model/transport/JdkHttpTransport.java b/agentscope-core/src/main/java/io/agentscope/core/model/transport/JdkHttpTransport.java
new file mode 100644
index 0000000000..879a05676a
--- /dev/null
+++ b/agentscope-core/src/main/java/io/agentscope/core/model/transp... | 13 | 10 | 7 | [{"id": "G0", "claim": "The close() method hardcodes a 5-second executor termination timeout; it should be extracted as a constant or made configurable/documented.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "readInputStream does not preserve ... | null |
agentscope-ai__agentscope-java__357 | agentscope-ai/agentscope-java | 357 | defect | 4e89a4908f3bfb3bc0bddc914c794c5edadac900 | 4c57dd30ea3924124e65b0cd20a92fb26d2a4bcd | feat(output): add support for structured data dynamic define | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.3, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
Support dynamic structured data definition.
Summary
1.io.agentscope.core.agent.Agent#cal... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
index 833233e699..be0d7f65cd 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.ja... | 2 | 2 | 2 | [{"id": "G0", "claim": "The null-filtering of content and metadata in the Msg constructor is an unrelated fix for a new bug report (issue #300) and does not belong in this PR; the reviewer questions why it was changed and asks that it be fixed in a separate PR instead.", "category": "design", "verdict": "supported", "p... | null |
agentscope-ai__agentscope-java__377 | agentscope-ai/agentscope-java | 377 | defect | abca44c8239d61b2dc5dbddb7b523a954cd6424b | 62f156fb2ac3859726ae2023fc338a4cfe9380aa | refactor(core): refactor toolkit and skillBox registration | ## AgentScope-Java Version
1.0.4
## Description
Refactor toolkit and skillBox registration
Now, for the situation where multiple tools are registered simultaneously, an error occurs when apply().
Passing in an empty value is no longer regarded as a valid call.
## Checklist
Please check the following it... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java b/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java
index 21f7efc133..50f236e4f3 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/s... | 6 | 5 | 1 | [{"id": "G0", "claim": "SkillBox.apply() should skip toolkit registration only when all four tool types (including subAgentProvider) are null, otherwise a skill registered with only a subAgent is silently not registered.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"... | null |
agentscope-ai__agentscope-java__379 | agentscope-ai/agentscope-java | 379 | defect | abca44c8239d61b2dc5dbddb7b523a954cd6424b | ae783838fb018bd030a5f53bb9d1c696391ae4ff | feat(tool): add thread-safe whitelist management and dynamic desc | ## AgentScope-Java Version
1.0.4
## Description
Add a list of allowed commands to the description sent to LLM. This helps to reduce the occurrence of LLM running commands that are not allowed. Although it incurs an increase in the consumption of one-time tokens, it can reduce the number of tool invocations, wh... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/coding/ShellCommandTool.java b/agentscope-core/src/main/java/io/agentscope/core/tool/coding/ShellCommandTool.java
index c9c2bd37d2..7e20b37c37 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/coding/ShellCommandTool.java
+++ b/agentsco... | 5 | 2 | 0 | [{"id": "G0", "claim": "Remove the redundant null check on allowedCommands in getDescription, since the field is initialized to a non-null ConcurrentHashMap.newKeySet() and the condition can never take the null branch.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"... | null |
agentscope-ai__agentscope-java__394 | agentscope-ai/agentscope-java | 394 | defect | 6ded7451cd0ed8cd48c186fc19eea7288a02d726 | 97ab7e8979622ab0b445b07da49b8e490dce640b | fix(core): fix path check with an invalid path | ## AgentScope-Java Version
1.0.5-SNAPSHOT
## Description
* Fixes: #392
* fix path check with an invalid path
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x] ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/formatter/MediaUtils.java b/agentscope-core/src/main/java/io/agentscope/core/formatter/MediaUtils.java
index e4ea5afcf0..e8ed614486 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/formatter/MediaUtils.java
+++ b/agentscope-core/src/main/java/io... | 1 | 1 | 0 | [{"id": "G0", "claim": "The catch clause in MediaUtils.isFileExists should use the simple name InvalidPathException (with a matching import) instead of the fully qualified java.nio.file.InvalidPathException.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__403 | agentscope-ai/agentscope-java | 403 | defect | 6ded7451cd0ed8cd48c186fc19eea7288a02d726 | 03fc3b80c17e3e4f72a5418e5c9ea6738828a17c | feat(memory):support self-host mem0 | This pull request improves support for both platform and self-hosted Mem0 deployments in the long-term memory extension, making the API more flexible and robust. The main changes include allowing users to specify the Mem0 API type, updating endpoint handling in the client, and enhancing search request capabilities.
... | diff --git a/agentscope-examples/advanced/src/main/java/io/agentscope/examples/advanced/AutoMemoryExample.java b/agentscope-examples/advanced/src/main/java/io/agentscope/examples/advanced/AutoMemoryExample.java
index 0f789cecaa..26082cc5c7 100644
--- a/agentscope-examples/advanced/src/main/java/io/agentscope/examples/a... | 7 | 1 | 1 | [{"id": "G0", "claim": "The order of operations in Mem0SearchRequest.Builder.build() could lead to data loss: build() sets filters first and then calls setUserId(), which may add the userId to the filters map a second time or to a different map reference than intended; consider documenting this behavior clearly or rest... | null |
agentscope-ai__agentscope-java__450 | agentscope-ai/agentscope-java | 450 | defect | 33eb9f22b810470212a73daaef019fc7264e3255 | 1ae16ea3197fcf2636cf2f0795b05341dfcb1b15 | feat(autocontextmemory):change auto context memory compress trigger to pre-reasoning hook | [Copilot is g
This pull request introduces a significant improvement to the `AutoContextMemory` integration with `ReActAgent` by making memory compression deterministic and explicit before each LLM reasoning call. The changes affect both the implementation and documentation (in English and Chinese), clarifying the com... | diff --git a/agentscope-examples/advanced/src/main/java/io/agentscope/examples/advanced/AutoMemoryExample.java b/agentscope-examples/advanced/src/main/java/io/agentscope/examples/advanced/AutoMemoryExample.java
index cb11ecf7e3..c831566b8e 100644
--- a/agentscope-examples/advanced/src/main/java/io/agentscope/examples/a... | 1 | 1 | 0 | [{"id": "G0", "claim": "The comment reading \"Load offload context\" should be updated to reflect that the code block loads compression events.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__476 | agentscope-ai/agentscope-java | 476 | defect | a49546c1736580f73c70b463390012d0dfdf1327 | cc8215e5a7ceb61376038f3a1eabd0132da3e9e9 | fix(OpenAI): support video url in OpenAIModel | Change-Id: Ib37a67afa21c4958afef42071b40f72572be20f0
## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.6, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, pur... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/formatter/openai/OpenAIConversationMerger.java b/agentscope-core/src/main/java/io/agentscope/core/formatter/openai/OpenAIConversationMerger.java
index 9717a7a700..6bd06ed3d2 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/formatter/openai/OpenA... | 3 | 1 | 1 | [{"id": "G0", "claim": "The javadoc bullet in OpenAIContentPart should say the field name is \"video_url\" (matching the @JsonProperty annotation and other fields like image_url) instead of \"videoUrl\".", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim... | null |
agentscope-ai__agentscope-java__481 | agentscope-ai/agentscope-java | 481 | defect | 40fb4cd6ab5af948366c552900431b8372682ea2 | 1122f0497f955a3b54a9abff30e0f071fed626a1 | fix(dashscope): Missing additional headers and params for DashScopeHttpClient | ## AgentScope-Java Version
1.0.7-SNAPSHOT
## Description
Add additional headers and params for DashScopeHttpClient
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/model/DashScopeChatModel.java b/agentscope-core/src/main/java/io/agentscope/core/model/DashScopeChatModel.java
index 4b22d45dfa..8863030fab 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/model/DashScopeChatModel.java
+++ b/agentscope-core/src/... | 1 | 1 | 0 | [{"id": "G0", "claim": "Remove the now-unused single-argument convenience overloads `DashScopeHttpClient#stream(DashScopeRequest)` and `DashScopeHttpClient#call(DashScopeRequest)` after the chat model switched to the four-argument variants.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sco... | null |
agentscope-ai__agentscope-java__502 | agentscope-ai/agentscope-java | 502 | defect | b317f0329c1b08074699c98882cb613f88adaae9 | b873ddcfa374dfbfb9f7cab81a59abecfcd77441 | fix: The tool_call_args returned by ag ui is empty | fix: The tool_call_args returned by ag ui is empty, and a toolcallresult event is added.
Issue: https://github.com/agentscope-ai/agentscope-java/issues/498
## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.6, check your pom.xml dependency version or run `mvn dependency:tr... | diff --git a/agentscope-extensions/agentscope-extensions-agui/src/main/java/io/agentscope/core/agui/adapter/AguiAgentAdapter.java b/agentscope-extensions/agentscope-extensions-agui/src/main/java/io/agentscope/core/agui/adapter/AguiAgentAdapter.java
index 9802c58b07..49bb372aeb 100644
--- a/agentscope-extensions/agentsc... | 1 | 1 | 1 | [{"id": "G0", "claim": "Filter out the non-last blocks instead of emitting tool call args via the isNew fallback that serializes toolUse.getInput() — args should be emitted only for the last block's content.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__508 | agentscope-ai/agentscope-java | 508 | defect | a2760f6e6d4bfa62cffaaa94c29c1c79841a7e73 | 5dbf390f1c92c1205a9292f936fd89dc5055b099 | feat(extension): support tool schema for completions chat api | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.6, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
as for cha... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/agent/accumulator/ReasoningContext.java b/agentscope-core/src/main/java/io/agentscope/core/agent/accumulator/ReasoningContext.java
index d2cec4a9ae..a898580f9b 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/agent/accumulator/ReasoningContext.j... | 3 | 3 | 2 | [{"id": "G0", "claim": "The rewritten enrichToolUseBlockWithId is effectively the same outcome as the previous version, implying the restructure adds no value.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Schema-only tools also need to be validated, si... | null |
agentscope-ai__agentscope-java__509 | agentscope-ai/agentscope-java | 509 | defect | b317f0329c1b08074699c98882cb613f88adaae9 | 9ba56ad3fce0b9da01f80bdc2dc174a94de6f435 | fix(core): enable custom config for mcpclientbuilder | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.6, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
enable cus... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java b/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
index 9c27fb90eb..26847b34c2 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
+++ b/agentscope-core/s... | 1 | 1 | 0 | [{"id": "G0", "claim": "In McpClientBuilder.java the fully qualified class names 'java.util.function.Consumer' and 'java.net.http.HttpClient.Builder' in the new field declarations and method signatures should be replaced with proper imports (e.g. add 'import java.util.function.Consumer;' and use 'Consumer<HttpClient.Bu... | null |
agentscope-ai__agentscope-java__524 | agentscope-ai/agentscope-java | 524 | defect | f70493437f9861bce24e77f05e673ce2ed1349ef | 278fefee880c08f52dc5f73e9d55ca2f41ec3590 | refactor(skill): remove snakeyaml dependency with lightweight YAML parser | ## AgentScope-Java Version
1.0.7-SNAPSHOT
## Description
### Summary
Remove the snakeyaml dependency by implementing a lightweight YAML parser for frontmatter parsing.
### Changes
- **MarkdownSkillParser**: Add `SimpleYamlParser` inner class supporting:
- Simple `key: value` format parsing
- Sin... | diff --git a/agentscope-core/pom.xml b/agentscope-core/pom.xml
index b6bbaf4ef3..0df26d7ff0 100644
--- a/agentscope-core/pom.xml
+++ b/agentscope-core/pom.xml
@@ -136,11 +136,5 @@
<groupId>com.networknt</groupId>
<artifactId>json-schema-validator</artifactId>
</dependency>
-
- ... | 10 | 2 | 0 | [{"id": "G0", "claim": "parseValue returns values with mismatched quotes (e.g. \"hello or hello\") as-is without validating or reporting them, and nothing tests or documents that behavior; the reviewer asks for validation (or documentation of the edge case) plus tests covering mismatched-quote values.", "category": "co... | null |
agentscope-ai__agentscope-java__534 | agentscope-ai/agentscope-java | 534 | defect | 590fe8d89e3d1d3ca25b49dec25fa2b4397e5a36 | 697afc4c49eabf22a8f5ef9d25fa5e0cc9497697 | feat(structured-output): delay tool_choice forcing until reminder in TOOL_CHOICE mode | ## AgentScope-Java Version
1.0.7
## Description
feat(structured-output): delay tool_choice forcing until reminder in TOOL_CHOICE mode
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/agent/StructuredOutputHook.java b/agentscope-core/src/main/java/io/agentscope/core/agent/StructuredOutputHook.java
index 0fd7ad5b41..308e4af7ad 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/agent/StructuredOutputHook.java
+++ b/agentscope-cor... | 2 | 1 | 1 | [{"id": "G0", "claim": "handlePreReasoning accesses the last element of inputMessages without first checking that the list is non-empty, so an empty (or absent) message list could throw an IndexOutOfBoundsException, and the test suite has no case covering an empty PreReasoningEvent message list.", "category": "correctn... | null |
agentscope-ai__agentscope-java__543 | agentscope-ai/agentscope-java | 543 | defect | 590fe8d89e3d1d3ca25b49dec25fa2b4397e5a36 | f07e454b516c97c9bd52277f2c4ede9f60b72769 | feat: add headers to TelemetryTracer to support capabilities such as authentication, for example, reporting trace data to Langfuse. | ## AgentScope-Java Version
1.0.7-SNAPSHOT
## Description
* Modify the destination storage for reporting trace data, for example Langfuse.
* Add headers to TelemetryTracer to support capabilities such as authentication, for example, reporting trace data to Langfuse.
* Modify TelemetryTracer.java , add headers... | diff --git a/agentscope-examples/advanced/src/main/java/io/agentscope/examples/advanced/LangfuseExample.java b/agentscope-examples/advanced/src/main/java/io/agentscope/examples/advanced/LangfuseExample.java
new file mode 100644
index 0000000000..f74c5697d3
--- /dev/null
+++ b/agentscope-examples/advanced/src/main/java/... | 2 | 2 | 0 | [{"id": "G0", "claim": "Use the imported short names Map and HashMap instead of the fully qualified java.util names in the headers field initializer.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Use the imported short name Map instead of the f... | null |
agentscope-ai__agentscope-java__546 | agentscope-ai/agentscope-java | 546 | defect | 590fe8d89e3d1d3ca25b49dec25fa2b4397e5a36 | d5a4b9f7c9f90d75c7ecf8535be80042a7d121c3 | feat(skill): add JarSkillRepositoryAdapter for loading skills from Jar | ## AgentScope-Java Version
1.0.7-SNAPSHOT
## Description
Add `JarSkillRepositoryAdapter` to enable loading skills from JAR files in production environments.
## What's Changed
- **New Feature**: `JarSkillRepositoryAdapter` class that bridges JAR resources and `FileSystemSkillRepository`
- **Key Capabilitie... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/util/JarSkillRepositoryAdapter.java b/agentscope-core/src/main/java/io/agentscope/core/skill/util/JarSkillRepositoryAdapter.java
new file mode 100644
index 0000000000..cdb02c97e8
--- /dev/null
+++ b/agentscope-core/src/main/java/io/agentscope/core/skil... | 7 | 5 | 2 | [{"id": "G0", "claim": "There is a potential NullPointerException risk if skillBasePath.getParent() returns null, so the adapter should validate that the resourcePath has a parent directory or provide a more descriptive error message.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr... | null |
agentscope-ai__agentscope-java__564 | agentscope-ai/agentscope-java | 564 | defect | e591fb267c38945ed6e23d98cd830ec34aa4c1cf | 5c7fdb7544c41031117391e8eaf2c00e76387899 | feat(model): Support response_format for dashscope model | ## AgentScope-Java Version
1.0.8
## Description
* Closes: #523
* Support response_format for dashscope model
## Key Changes
* Support response_format by add response_format for GenerateOptions#additionalBodyParams.
* Move io.agentscope.core.formatter.openai.dto.ResponseFormat to io.agentscope.core.forma... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/DashScopeToolsHelper.java b/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/DashScopeToolsHelper.java
index 7a5a9eb578..d091cef49d 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/Dash... | 1 | 1 | 1 | [{"id": "G0", "claim": "GenerateOptions stores responseFormat as the DashScope-specific DashScopeResponseFormat type, so response_format is not limited to DashScope but is not implemented for OpenAI; the reviewer asks to use a generic ResponseFormat and also implement response_format support in the OpenAI model.", "cat... | null |
agentscope-ai__agentscope-java__572 | agentscope-ai/agentscope-java | 572 | defect | 493c8e907bf273cc7c552e9fa563f7bc7b27b12e | 254c3741dca7fd3beeb413aa5133c227a8f5c4c4 | fix(ollama): handle no-parameter tool calls with empty arguments | AgentScope-Java Version
1.0.8-SNAPSHOT
Description
Background
When using OllamaChatModel to call tools with no parameters (like getTime()), the tool execution fails with a validation error, while the same tool works correctly with OpenAIChatModel.
Reported in issue #569.
Problem
The... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/formatter/ollama/OllamaResponseParser.java b/agentscope-core/src/main/java/io/agentscope/core/formatter/ollama/OllamaResponseParser.java
index 8b5ef7b888..9fbe85eb86 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/formatter/ollama/OllamaRespons... | 3 | 3 | 1 | [{"id": "G0", "claim": "The null/empty-input handling is inconsistent with the OpenAI and Anthropic formatters and may be unrobust for null inputs, so the condition should be changed to `if (input == null || input.isEmpty()) { argumentsJson = \"{}\"; }`.", "category": "correctness", "verdict": "supported", "priority": ... | null |
agentscope-ai__agentscope-java__574 | agentscope-ai/agentscope-java | 574 | defect | 493c8e907bf273cc7c552e9fa563f7bc7b27b12e | c92f25ba6e22c097cb4d128e491be0245cb4f48b | feat: Support LLM thinking mode output in AG-UI | fixes #482 Enhance AG-UI adapter to support deep thinking output | diff --git a/agentscope-examples/agui/src/main/java/io/agentscope/examples/agui/config/AgentConfiguration.java b/agentscope-examples/agui/src/main/java/io/agentscope/examples/agui/config/AgentConfiguration.java
index 5003ec0513..cd501e6f68 100644
--- a/agentscope-examples/agui/src/main/java/io/agentscope/examples/agui/... | 1 | 1 | 1 | [{"id": "G0", "claim": "The ThinkingBlock handling should follow the AG-UI reasoning draft specification (https://docs.ag-ui.com/drafts/reasoning) instead of emitting plain text messages, and the reasoning output must not be enabled by default.", "category": "design", "verdict": "supported", "priority": "P1", "scope": ... | null |
agentscope-ai__agentscope-java__577 | agentscope-ai/agentscope-java | 577 | defect | e68e73cb05bc97dd034f11cf4c88a70bfedd48ad | 3356ba48d288cbcd914fbd05bfa2dcf5e2b67417 | feat(hook): add summary phase hook support for ReActAgent | Change-Id: I84319b0c1ad175adf9137b1e1552baaad53944b3
## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.7, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, pur... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
index 9ff7076f39..912c06bd20 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.ja... | 8 | 1 | 0 | [{"id": "G0", "claim": "The buildGenerateOptions() method needs a Javadoc comment explaining what it does and what options it returns, per the coding guidelines.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The variable name 'chunkMsgs' is uncle... | null |
agentscope-ai__agentscope-java__591 | agentscope-ai/agentscope-java | 591 | defect | 873ca2ded3434c3ed07a948b78b959c799a3d56e | 9bd195ed7ecbb23df17d5e5444cc1ee66af7d0fb | fix: add tooluseblock start | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.7, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
qwen3max:
... | diff --git a/agentscope-extensions/agentscope-extensions-agui/src/main/java/io/agentscope/core/agui/adapter/AguiAgentAdapter.java b/agentscope-extensions/agentscope-extensions-agui/src/main/java/io/agentscope/core/agui/adapter/AguiAgentAdapter.java
index 30a83fcee1..7a1eba1b30 100644
--- a/agentscope-extensions/agentsc... | 5 | 5 | 1 | [{"id": "G0", "claim": "The local variable `hasToolUseBlock` added in convertEvent is declared but never used and should be removed to keep the code clean.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new private methods cacheToolUseBlock ... | null |
agentscope-ai__agentscope-java__605 | agentscope-ai/agentscope-java | 605 | defect | 57c98db139ce6f326705cbe70a3b20b2e7aa00f0 | fe840c4e80a02a834767b8f07272887396950228 | Feat add custom event | # Add Custom Event Support to AguiEvent
## Summary
This issue implements support for Custom events in the AG-UI protocol, providing an extension mechanism for implementing features not covered by the standard event types.
## Motivation
The AG-UI protocol currently supports various standard event types (RUN_STAR... | diff --git a/agentscope-extensions/agentscope-extensions-agui/src/main/java/io/agentscope/core/agui/event/AguiEvent.java b/agentscope-extensions/agentscope-extensions-agui/src/main/java/io/agentscope/core/agui/event/AguiEvent.java
index dbc335a666..5ca914b256 100644
--- a/agentscope-extensions/agentscope-extensions-agu... | 4 | 1 | 0 | [{"id": "G0", "claim": "Remove the indentation from the @JsonSubTypes annotation so it is consistent with the unindented @JsonTypeInfo annotation directly above it.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The testToString assertions are t... | null |
agentscope-ai__agentscope-java__614 | agentscope-ai/agentscope-java | 614 | defect | 57c98db139ce6f326705cbe70a3b20b2e7aa00f0 | b0010a1d25fc0222ffb4137fb624cf7ba74a9ea2 | feat(skill): Add code execution capabilities to SkillBox | ## AgentScope-Java Version
1.0.7
## Description
- Add enableCodeExecution() methods to SkillBox supporting both temporary and custom working directories
- Implement automatic script extraction and organization by skill ID (workDir/skillId/script.py)
- Enhance ShellCommandTool with baseDir support to prevent ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
index 9ff7076f39..0fc421a088 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.ja... | 9 | 5 | 3 | [{"id": "G0", "claim": "targetPath.getParent() can be null when relativePath has no parent directories, and calling Files.createDirectories with a null Path would throw a NullPointerException, so the code should guard against it.", "category": "correctness", "verdict": "opposed", "priority": "P3", "scope": "introduced"... | null |
agentscope-ai__agentscope-java__615 | agentscope-ai/agentscope-java | 615 | defect | 57c98db139ce6f326705cbe70a3b20b2e7aa00f0 | 0d791b5925bc611cd221eda33dbd2ce1aac5c7be | refactor(skill): simplify skill lifecycle and improve tool group activation | ## AgentScope-Java Version
1.0.7
## Description
refactor(skill): simplify skill lifecycle and improve tool group activation
BREAKING CHANGE: Skill tool groups now persist across conversation turns
Changes:
- Remove skill deactivation logic from SkillHook's PreCallEvent/PostCallEvent handlers
- Move too... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java b/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java
index c7fb46d384..fd400cdc49 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/s... | 7 | 6 | 1 | [{"id": "G0", "claim": "Using `toolkit.setActiveGroups(List.of(toolsGroupName))` replaces the entire set of active tool groups, so loading a new skill deactivates previously loaded skills' tool groups, contradicting the PR's goal of making tool groups persist across conversation turns; an additive method should be used... | null |
agentscope-ai__agentscope-java__646 | agentscope-ai/agentscope-java | 646 | defect | c4d2bc1ca9e58a4414a534a39b89fe7bd492c935 | 6bb66aef10558fd9fa3916c994cb913c68e671e2 | feat(skill): refactor code execution API with builder pattern | ## AgentScope-Java Version
1.0.7
## Description
- Replace enableCodeExecution() with fluent builder API
- Support selective tool enabling and ShellCommandTool customization
- Add cross-platform tests (Unix/Mac + Windows)
- Update documentation with new API examples
**BREAKING CHANGE**: enableCodeExecutio... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java b/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java
index 478a43afc4..26ca0379be 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillBox.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/s... | 4 | 2 | 0 | [{"id": "G0", "claim": "While ReadFileTool and WriteFileTool treat baseDir as a sandbox that prevents path traversal, ShellCommandTool only uses it as a starting working directory and does not stop commands from accessing files outside it, which can violate the principle of least surprise and create a security risk for... | null |
agentscope-ai__agentscope-java__656 | agentscope-ai/agentscope-java | 656 | defect | a2760f6e6d4bfa62cffaaa94c29c1c79841a7e73 | d638789875e82fde25ea52696acdcf63ce147350 | fix(core): enforce maxSubtasks limit in createPlan and reviseCurrentPlan | AgentScope-Java Version
1.0.8-SNAPSHOT
Description ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/plan/PlanNotebook.java b/agentscope-core/src/main/java/io/agentscope/core/plan/PlanNotebook.java
index 0934cf6f4d..0ee52c0591 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/plan/PlanNotebook.java
+++ b/agentscope-core/src/main/java/io/agentsco... | 2 | 1 | 1 | [{"id": "G0", "claim": "The multi-line concatenated error strings in createPlan and reviseCurrentPlan should each be written on a single line for readability.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add automated unit tests covering the n... | null |
agentscope-ai__agentscope-java__661 | agentscope-ai/agentscope-java | 661 | defect | 57c98db139ce6f326705cbe70a3b20b2e7aa00f0 | 729d66d6dc36f66017524f5aaa25adb43e4d4432 | refactor(toolkit): refactor ToolMethodInvoker to be stateless |
## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.7, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
- Refactor ToolMethodInvoker to be stateless by removing internal chunkCallback state.
- ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolExecutor.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolExecutor.java
index 9471d9a234..c66ef217fe 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolExecutor.java
+++ b/agentscope-core/src/main/java/io/agentsco... | 2 | 1 | 0 | [{"id": "G0", "claim": "The Javadoc for convertParameters says the injected ToolEmitter may be null, but invokeAsync always supplies a non-null no-op emitter via param.getEmitter(), so the Javadoc should be updated to say the emitter is never null (or the code adjusted to actually allow null).", "category": "documentat... | null |
agentscope-ai__agentscope-java__668 | agentscope-ai/agentscope-java | 668 | defect | 92a9b3f990b7a44ccb43ff4ef3ae212aca3c55e4 | ef35d3d6da3470ce799157df3252ce49dd904719 | fix(skill): support Spring Boot Fat JAR in JarSkillRepositoryAdapter | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.8, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
- Correctly resolve resource paths in Spring Boot nested JAR structure (BOOT-INF/classes/)... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/util/JarSkillRepositoryAdapter.java b/agentscope-core/src/main/java/io/agentscope/core/skill/util/JarSkillRepositoryAdapter.java
index 918affb9c7..6ce8bfd8ec 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/util/JarSkillRepositoryAda... | 4 | 1 | 0 | [{"id": "G0", "claim": "The JAR URI parsing `uri.getSchemeSpecificPart().split(\"!\")[1]` could be brittle for varying URI formats or paths containing `!`, and should guard against a missing delimiter to avoid a potential ArrayIndexOutOfBoundsException.", "category": "correctness", "verdict": "uncertain", "priority": "... | null |
agentscope-ai__agentscope-java__670 | agentscope-ai/agentscope-java | 670 | defect | 25e28268442c5bab6b4dd97e320a3856518f8673 | f1004e110854709eb61cfb50b0d6234d5daadfa4 | chore(dashscope): Use DashScopeHttpClient#requiresMultimodalApi method instead | ## AgentScope-Java Version
1.0.9
## Description
* Use `DashScopeHttpClient#requiresMultimodalApi `method instead of `DashScopeChatModel#requiresMultiModalApi` and delete the unused method.
* Correct the `@AguiAgentId` annotation of agui.md.
## Note
* I can not pass the unit test coverage because the log... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/model/DashScopeChatModel.java b/agentscope-core/src/main/java/io/agentscope/core/model/DashScopeChatModel.java
index 88e5be7490..7265da4e9c 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/model/DashScopeChatModel.java
+++ b/agentscope-core/src/... | 3 | 3 | 1 | [{"id": "G0", "claim": "The English AGUI documentation example should use the corrected `@AguiAgentId` annotation name instead of the misspelled `@AguiAgent`.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The Chinese AGUI documentation example sh... | null |
agentscope-ai__agentscope-java__687 | agentscope-ai/agentscope-java | 687 | defect | 11862384e39d2cb940f5401708af74fc746bbeac | 6085c4c8f8cf6c31d13d15af896dbaf79eaf7272 | feat(plan): add changeHook management API to PlanNotebook & add HITL support for plan execution | ## AgentScope-Java Version
1.0.9
## Description
feat(plan-notebook): add Human-in-the-Loop (HITL) support for plan execution
feat(plan): add changeHook management API to PlanNotebook
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/plan/PlanNotebook.java b/agentscope-core/src/main/java/io/agentscope/core/plan/PlanNotebook.java
index df42d9538f..0bc63bbea1 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/plan/PlanNotebook.java
+++ b/agentscope-core/src/main/java/io/agentsco... | 7 | 7 | 6 | [{"id": "G0", "claim": "There is a potential race condition in the resume method: two concurrent /api/resume requests could both pass the !isPaused.get() check before isPaused is set to false, leading to two concurrent agent.stream() calls; using isPaused.compareAndSet(true, false) would make the implementation more ro... | null |
agentscope-ai__agentscope-java__694 | agentscope-ai/agentscope-java | 694 | defect | 11862384e39d2cb940f5401708af74fc746bbeac | 8a999cee20dbf1bb0f8c13c20d3b0a855860756a | feat(skill): add zip skill parsing util | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.8, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
## Check... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/AgentSkill.java b/agentscope-core/src/main/java/io/agentscope/core/skill/AgentSkill.java
index 94dcc3e332..5426941470 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/AgentSkill.java
+++ b/agentscope-core/src/main/java/io/agentscope/... | 7 | 6 | 3 | [{"id": "G0", "claim": "createFromZip(Path) loads the entire zip file into memory via Files.readAllBytes, which can cause an OutOfMemoryError for large zip files; it should open an InputStream from the Path and pass it to the stream-based createFromZip instead.", "category": "performance", "verdict": "supported", "prio... | null |
agentscope-ai__agentscope-java__701 | agentscope-ai/agentscope-java | 701 | defect | 11862384e39d2cb940f5401708af74fc746bbeac | aebae40c4f21454ff40d9091d742375f6f1db8c7 | refactor(tool): make tool:tool groups = n:m, not n:1 | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.8, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
close&fix #612 #671 #682
## Checklist
Please check the following items before code is ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/RegisteredToolFunction.java b/agentscope-core/src/main/java/io/agentscope/core/tool/RegisteredToolFunction.java
index a37e16cbe8..e779e0e93e 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/RegisteredToolFunction.java
+++ b/agentscope-... | 4 | 1 | 1 | [{"id": "G0", "claim": "In SkillBoxTest the JSON strings for the content of loadCallA and loadCallB are constructed manually; use JsonUtils.getJsonCodec().toJson(loadInputA/loadInputB) instead, as other tests do, for consistency and robustness.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", ... | null |
agentscope-ai__agentscope-java__721 | agentscope-ai/agentscope-java | 721 | defect | a73e24280593c467655043a61513c209561cc6bf | 7d93f73c4dacd1fb2922e32f50e58a473e6810d5 | fix(model): auto-generate ChatResponse.id when LLM doesn't provide it | AgentScope-Java Version
1.0.9-SNAPSHOT
... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/model/ChatResponse.java b/agentscope-core/src/main/java/io/agentscope/core/model/ChatResponse.java
index c385fb8887..2e46b9aaed 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/model/ChatResponse.java
+++ b/agentscope-core/src/main/java/io/agent... | 1 | 1 | 1 | [{"id": "G0", "claim": "The build() check treats whitespace-only id strings as valid; use trim().isEmpty() so blank ids also trigger UUID generation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__722 | agentscope-ai/agentscope-java | 722 | defect | a73e24280593c467655043a61513c209561cc6bf | 976f29b3b570b936a40a2ad269d1269a03d4742c | fix(skill): trigger SkillHook later than StructuredOutputHook | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.8, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
close&fix #719
## Checklist
Please check the following items before code is ready to b... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java b/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java
index 09bb2481e0..6d13d1f36c 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java
+++ b/agentscope-core/src/main/java/io/agentscope/cor... | 6 | 3 | 0 | [{"id": "G0", "claim": "The testHookPriority assertion message still references the old priority value and should be updated to say the skill hook should have priority 55.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test comment describing ... | null |
agentscope-ai__agentscope-java__730 | agentscope-ai/agentscope-java | 730 | defect | f153fb056eba7460f62c4536c54e6bfa5c2ea0b0 | db4a332a45421a4691d981e5af7c3c4718a25c24 | fix(tool): preserve generic type info in ToolMethodInvoker | ## AgentScope-Java Version
1.0.9
## Description
ref(#677)
run test
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x] Javadoc comments are complete and follow ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolMethodInvoker.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolMethodInvoker.java
index c0776541f0..88d7b96212 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolMethodInvoker.java
+++ b/agentscope-core/src/main/j... | 1 | 1 | 0 | [{"id": "G0", "claim": "The test assertion should verify the key-value pairs (key1=ProductA, key2=ProductB) rather than only the presence of the product names, so an incorrect key mapping is not missed.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__771 | agentscope-ai/agentscope-java | 771 | defect | b3da79a3cd40d34cba9fc383173329517621c42c | ea0c07744b3d054308cbe0a0e572314dcaf1f2de | fix: skill sysyem prompt should inject at head of msgs | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.8, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
fix&close #765
## Checklist
Please check the following items before code is ready to ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java b/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java
index 6d13d1f36c..0ba4cdd5e4 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java
+++ b/agentscope-core/src/main/java/io/agentscope/cor... | 6 | 5 | 0 | [{"id": "G0", "claim": "Pre-size the new ArrayList in SkillHook.onEvent to the input list's size plus one to avoid re-allocations and make the intent clearer.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Fix the typo in the test display name: 'fis... | null |
agentscope-ai__agentscope-java__783 | agentscope-ai/agentscope-java | 783 | defect | 375f3f7c858ef8df96d4dcd1c78c6eb837ecaf11 | 83ad289d56385fc276b46dbaa957679e74c95314 | feat(tool): add ToolSchemaModule to support @ToolParam parsing. | ## AgentScope-Java Version
1.0.8
## Description
feat(tool): add ToolSchemaModule to support @ToolParam parsing.
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x] ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaModule.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaModule.java
new file mode 100644
index 0000000000..9fad8f6713
--- /dev/null
+++ b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolSchemaModule.java
@@ -0,0... | 1 | 1 | 1 | [{"id": "G0", "claim": "ToolSchemaModule ignores the name attribute of @ToolParam on fields, inconsistent with ToolSchemaGenerator's handling of method parameters, which can lead to unexpected property names in the generated JSON schema; the reviewer asks to register withPropertyNameOverrideResolver so @ToolParam.name(... | null |
agentscope-ai__agentscope-java__791 | agentscope-ai/agentscope-java | 791 | defect | 375f3f7c858ef8df96d4dcd1c78c6eb837ecaf11 | 04eff76c3cb8ba3aa230b9719ff323308ab7f014 | fix(tool): handle ToolSuspendException for sync throws in async tool branches | ## AgentScope-Java Version
1.0.8
## Description
fix(tool): handle ToolSuspendException for sync throws in async tool branches.
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolMethodInvoker.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolMethodInvoker.java
index 59a8ae737c..2392fdd9a6 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolMethodInvoker.java
+++ b/agentscope-core/src/main/j... | 2 | 1 | 0 | [{"id": "G0", "claim": "Replace the try-catch in testToolSuspendException_Mono_SyncThrow with Assertions.assertThrows so the new test is more concise and idiomatic for JUnit 5.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "handleInvocationError... | null |
agentscope-ai__agentscope-java__798 | agentscope-ai/agentscope-java | 798 | defect | 35ccc77d7bda8172516edd52b3a1badbee7443b9 | f17938cd0484f9d00a057ecaa3c29a3cbc1f5c5e | feat(mcp): 添加elicitation功能支持 | #797
- 在McpClientBuilder中添加asyncElicitation和syncElicitation方法
- 更新文档说明elicitation特性和使用示例
- 添加完整的单元测试验证elicitation功能
## AgentScope-Java Version
<revision>1.0.10-SNAPSHOT</revision>
## Description
为 McpClientBuilder 添加了 MCP 官方 SDK 定义的 elicitation 功能支持。
### 核心变更
修改了 McpClientBuilder.java:
新增导入
io.m... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java b/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
index 47dd7dcb18..76a1cc8a0e 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
+++ b/agentscope-core/s... | 4 | 4 | 0 | [{"id": "G0", "claim": "The ClientCapabilities construction logic duplicated in buildAsync and buildSync should be extracted into a private buildCapabilities helper method to keep the code DRY and maintainable.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
agentscope-ai__agentscope-java__800 | agentscope-ai/agentscope-java | 800 | defect | 35ccc77d7bda8172516edd52b3a1badbee7443b9 | f17d8411ace0bf534c6f985ac1c84ebbe1e955f2 | fix(model): Fix NPE when OpenAIClient stream call handle error | ## AgentScope-Java Version
1.0.10
## Description
Fixes: #786
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x] Javadoc comments are complete and follow project conv... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/model/exception/OpenAIException.java b/agentscope-core/src/main/java/io/agentscope/core/model/exception/OpenAIException.java
index bbf4c36088..3df7319208 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/model/exception/OpenAIException.java
+++ b... | 2 | 2 | 1 | [{"id": "G0", "claim": "Using the HTTP status code 418 as the default when no status code is available is unusual and confusing, so it should be defined as a named constant with an explanatory comment, or at minimum carry a code comment explaining the choice of 418.", "category": "maintainability", "verdict": "supporte... | null |
agentscope-ai__agentscope-java__822 | agentscope-ai/agentscope-java | 822 | defect | 35ccc77d7bda8172516edd52b3a1badbee7443b9 | 3fa73b01b67cd2be950b6c8a4ea24119516cd4b2 | style: format code using spotless | ## AgentScope-Java Version
1.0.10
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java b/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
index 47dd7dcb18..2798721ba4 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/mcp/McpClientBuilder.java
+++ b/agentscope-core/s... | 1 | 1 | 0 | [{"id": "G0", "claim": "The MCP clientInfo version is hardcoded as \"1.0.10-SNAPSHOT\" in McpClientBuilder's buildAsync (and also in buildSync) and can drift from the canonical library version, so it should reference the io.agentscope.core.Version.VERSION constant instead.", "category": "maintainability", "verdict": "s... | null |
agentscope-ai__agentscope-java__824 | agentscope-ai/agentscope-java | 824 | defect | 0a4eb61c2258226231f4a5c08e200bde52e9107d | aa45d5762d047b933e77643726252643842de0e3 | feat: allow manual endpoint type configuration and add qwen3.5-plus support | ## AgentScope-Java Version
1.0.10-SNAPSHOT
## Description
Allow manual endpoint type configuration and add qwen3.5-plus support.
Closes #817
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/dto/DashScopeRequest.java b/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/dto/DashScopeRequest.java
index 7e0ff028ac..af43b19474 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/dto/... | 7 | 7 | 3 | [{"id": "G0", "claim": "The endpointType builder javadoc is inconsistent with the implementation because it says qwen3.5-plus does not match the auto-detection patterns while DashScopeHttpClient.isMultimodalModel() explicitly auto-detects it; correct the documentation to reflect that qwen3.5-plus is already auto-detect... | null |
agentscope-ai__agentscope-java__837 | agentscope-ai/agentscope-java | 837 | defect | a7eb5ded38f2eb00c4c68bf816e290f1c9e58ee0 | d3a685019685184327e71cf2e83acf99395238fd | fix: `ClasspathSkillRepository` loads skill failed in multi-module java project | ## AgentScope-Java Version
1.0.9
## Description
fix the bug issue: https://github.com/agentscope-ai/agentscope-java/issues/834
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/repository/ClasspathSkillRepository.java b/agentscope-core/src/main/java/io/agentscope/core/skill/repository/ClasspathSkillRepository.java
index 6a81aad123..65f9a3f2d9 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/repository/Class... | 2 | 1 | 1 | [{"id": "G0", "claim": "The new path-extraction code can be made more concise for better readability, and lastIndexOf should use the character literal '!' instead of the string \"!\" for slightly better efficiency.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id":... | null |
agentscope-ai__agentscope-java__894 | agentscope-ai/agentscope-java | 894 | defect | e738d273fc836cf0dd53330dcb822858ba25f952 | 2dd2d64a9859f9e4b4c638c0b088ca798e006597 | fix(ReActAgent): preserve user chunk callback when using copied toolkit | ## AgentScope-Java Version
1.0.10-SNAPSHOT
## Description
Fixes #870.
Previously, when a user configured a chunk callback via `Toolkit#setChunkCallback(...)` and then passed that toolkit into `ReActAgent.builder().toolkit(toolkit).build()`, the callback could be overwritten by the internal callback register... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
index 30d25e545a..e24b303380 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.ja... | 2 | 2 | 1 | [{"id": "G0", "claim": "Add an explicit \"Internal API - Not recommended for external use\" warning to the Javadoc of Toolkit#setInternalChunkCallback, like similar public-but-internal APIs in this codebase.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "c... | null |
agentscope-ai__agentscope-java__895 | agentscope-ai/agentscope-java | 895 | defect | e738d273fc836cf0dd53330dcb822858ba25f952 | b5558e046e8d270f28e5f25b4d74ddebdb1c510d | fix(skill): skillBox prompt should merge into system prompts | ## AgentScope-Java Version
[The version of AgentScope-Java you are working on, e.g. 1.0.9, check your pom.xml dependency version or run `mvn dependency:tree | grep agentscope-parent:pom`(only mac/linux)]
## Description
fix & close #845
## Checklist
Please check the following items before code is ready t... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java b/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java
index 9762c19f28..f085b325a5 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/skill/SkillHook.java
+++ b/agentscope-core/src/main/java/io/agentscope/cor... | 3 | 1 | 1 | [{"id": "G0", "claim": "When merging the skill prompt into an existing SYSTEM message, the hook rebuilds the Msg via Msg.builder() without preserving the original message's id, timestamp, metadata or non-text content blocks, which can break downstream logic relying on stable message ids/metadata and will drop any exist... | null |
agentscope-ai__agentscope-java__931 | agentscope-ai/agentscope-java | 931 | defect | aa62e7cfc718285c96fd092b758d68a97c36293c | 83d1bfa1d57f3cb29de8835da597ca127c98855d | feat(agent): Support stream(List<Msg>, StreamOptions, JsonNode) for dynamic structured output during streaming | ## AgentScope-Java Version
1.0.11
## Description
* Closes: #929
* Support stream(List<Msg>, StreamOptions, JsonNode) for dynamic structured output during streaming
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:app... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/agent/AgentBase.java b/agentscope-core/src/main/java/io/agentscope/core/agent/AgentBase.java
index 1a2752fe38..6dc1baa408 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/agent/AgentBase.java
+++ b/agentscope-core/src/main/java/io/agentscope/cor... | 6 | 6 | 1 | [{"id": "G0", "claim": "The new stream(List<Msg>, StreamOptions, JsonNode) overload in AgentBase lacks Javadoc that the other public stream overloads have; add Javadoc (or at least {@inheritDoc}) for consistency.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1... | null |
agentscope-ai__agentscope-java__935 | agentscope-ai/agentscope-java | 935 | defect | f33255064efbe81ce4c4aa6999dd0ff2c004d5a6 | 5bb9075fc3af6d3fb9061b8f816f1ed8f9e5d4e9 | To retrieve the current token consumption during the reasoning process, assign a value to ChatUsage in ReasoningChunkEvent.accumulated | To retrieve the current token consumption during the reasoning process, assign a value to `ChatUsage` in `ReasoningChunkEvent.accumulated`:
1. Add the `getChatUsage()` method to `ReasoningContext`.
2. In `ReActAgent.notifyReasoningChunk`, assign `ReasoningContext.getChatUsage()` to `accumulated.metadata._chat_usage`.... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
index 30d25e545a..9dd9eb4a8c 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.ja... | 1 | 1 | 1 | [{"id": "G0", "claim": "CHAT_USAGE should also be added to the accumulated message in notifySummaryChunk, for consistency with notifyReasoningChunk, so hooks can access token usage when processing SummaryChunkEvent.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}] | null |
agentscope-ai__agentscope-java__949 | agentscope-ai/agentscope-java | 949 | defect | 7b68ae016c957717d2e6738359d548b58751af22 | 8ae20a9438a77d7817ac985abc77d332e351c383 | fix(rag): RAG-retrieved use USER role, AGENTIC RAG mode add missing retrieveConfig | ## AgentScope-Java Version
1.0.11
## Description
* RAG-retrieved use USER role, Fixes: #941
* AGENTIC RAG mode add missing retrieveConfig, Fixes: #932
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] ... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
index 30d25e545a..f4fd623226 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.ja... | 2 | 2 | 1 | [{"id": "G0", "claim": "The retrieveKnowledge() method declares a limit parameter, meant to let the Agent control the number of returned documents and handled with a default value, but that limit is completely ignored when constructing RetrieveConfig, so the Agent cannot actually control the number of returned document... | null |
agentscope-ai__agentscope-java__956 | agentscope-ai/agentscope-java | 956 | defect | ca712c84a6941d8677639e2e490b249bf4886edf | a6fd7535a201f2d8a42c4382ed2fcddbd44dc66b | fix: handle tool execution timeout/error causing IllegalStateExceptio… | …n (#951)
ReActAgent throws IllegalStateException when tool calls timeout or fail, because no tool result is written to memory, leaving orphaned pending tool call states that crash the agent on subsequent requests.
Root cause:
- Tool execution timeout/error propagates without writing results to memory
- Pending... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
index 30d25e545a..cb3553d568 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.java
+++ b/agentscope-core/src/main/java/io/agentscope/core/ReActAgent.ja... | 8 | 8 | 6 | [{"id": "G0", "claim": "error.getMessage() might return null and the hand-built \"[ERROR] Tool execution failed: ...\" text is inconsistent with existing error-result conventions, so the construction should align with the null-safe ExceptionUtils.getErrorMessage approach for a consistent, informative message.", "catego... | null |
agentscope-ai__agentscope-java__978 | agentscope-ai/agentscope-java | 978 | defect | 59fa986bb3464788487dc5d3b6f6f4b8a7dd5c17 | cf21ef8f83ee55770f9801e88a046f7b5f645bd6 | feat(rag): Milvus support configure database name | ## AgentScope-Java Version
1.0.11
## Description
* Closes: #975
* Milvus support configure database name
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x] Java... | diff --git a/agentscope-extensions/agentscope-extensions-rag-simple/src/main/java/io/agentscope/core/rag/store/MilvusStore.java b/agentscope-extensions/agentscope-extensions-rag-simple/src/main/java/io/agentscope/core/rag/store/MilvusStore.java
index d997143a18..f771eba814 100644
--- a/agentscope-extensions/agentscope-... | 7 | 7 | 3 | [{"id": "G0", "claim": "Changing the signature of MilvusStore.create() to add databaseName is a breaking API change for existing callers; keep the old create(uri, collectionName, dimensions) signature as a deprecated overload.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"i... | null |
agentscope-ai__agentscope-java__981 | agentscope-ai/agentscope-java | 981 | defect | 59fa986bb3464788487dc5d3b6f6f4b8a7dd5c17 | ffa1c128a9af12aa544160bf0c45ae6868aa05e0 | fix(core): Fix MediaUtils parse path extension | ## AgentScope-Java Version
1.0.11
## Description
* Closes: #977
* Fix MediaUtils parse path extension
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
- [x] Javadoc... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/formatter/MediaUtils.java b/agentscope-core/src/main/java/io/agentscope/core/formatter/MediaUtils.java
index 62ed3530f4..ef4b1f7c9f 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/formatter/MediaUtils.java
+++ b/agentscope-core/src/main/java/io... | 4 | 4 | 1 | [{"id": "G0", "claim": "getExtension fails when the URL has query parameters containing a dot (e.g. ?v=2.0), because the dot search runs over the full path; the query string should be stripped or parsed first.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c... | null |
agentscope-ai__agentscope-java__982 | agentscope-ai/agentscope-java | 982 | defect | 59fa986bb3464788487dc5d3b6f6f4b8a7dd5c17 | 8b655114f8e8e8da24aa35f98b9d38368ed7c29d | fix(core): Fix NPE in Toolkit.getTool when tool name is null | ## AgentScope-Java Version
1.0.11
## Description
* Closes: #973
* Fix NPE in Toolkit.getTool when tool name is null
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `mvn spotless:apply`
- [x] All tests are passing (`mvn test`)
... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolRegistry.java b/agentscope-core/src/main/java/io/agentscope/core/tool/ToolRegistry.java
index bcd2266fef..6b1511980d 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/tool/ToolRegistry.java
+++ b/agentscope-core/src/main/java/io/agentsco... | 2 | 2 | 0 | [{"id": "G0", "claim": "The @DisplayName on testRemoveEmptyNameTool says it tests registering an empty-name tool, which is inconsistent with the test's actual content (it tests removing one).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The @D... | null |
agentscope-ai__agentscope-java__983 | agentscope-ai/agentscope-java | 983 | defect | be80cad5927e3f33dd62e9bc0e0a61bb23f087cb | bb4f3c2eb20c6c977697dbb8656590530e10add9 | feat: built-in JSONL trace exporter via Hook (issue #942) | ## What
Implements a built-in, out-of-the-box local JSONL trace exporter for AgentScope-Java based on the existing `Hook` event system (issue #942).
This makes it easy to dump a complete “LLM conversation + execution trace” to a local file for offline debugging / incident review / attaching to issues, without req... | diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml
index ad6433264f..9d24e910a0 100644
--- a/.github/workflows/maven-ci.yml
+++ b/.github/workflows/maven-ci.yml
@@ -109,8 +109,16 @@ jobs:
- name: Build and Test with Coverage [Linux]
if: runner.os == 'Linux'
+ shell: ba... | 10 | 10 | 4 | [{"id": "G0", "claim": "The per-agent runStates map grows unboundedly because RunState entries are never evicted, so long-running use leaks memory.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new ZH hook-doc section is written in English and ... | null |
agentscope-ai__agentscope-java__985 | agentscope-ai/agentscope-java | 985 | defect | 82ae7ea39e64df550cd711f02060f62b45f44665 | b4f831ebe55b309587e2e719af3be540eb180853 | feat(model): add cache_control support for OpenAI and DashScope protocols | Add prompt caching via `cache_control: {"type": "ephemeral"}` to reduce API latency and cost for both OpenAI and DashScope model integrations.
- Add `cacheControl` option in GenerateOptions for model-level config
- Add `CACHE_CONTROL` metadata key for per-message manual marking
- Add `cache_control` field to OpenA... | diff --git a/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/DashScopeChatFormatter.java b/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/DashScopeChatFormatter.java
index 60c804477b..5cf25760b8 100644
--- a/agentscope-core/src/main/java/io/agentscope/core/formatter/dashscope/... | 2 | 2 | 1 | [{"id": "G0", "claim": "Enabling cacheControl(true) changes the outbound request payload, but there is no test in the OpenAIChatModelTest or DashScopeChatModelTest suites enabling the option and asserting the recorded request body contains cache_control on the intended messages.", "category": "testing", "verdict": "sup... | null |
agentscope-ai__agentscope-runtime-java__84 | agentscope-ai/agentscope-runtime-java | 84 | defect | d6021699567de5dd5ed99548454083173bd49aeb | 22c4c96547347359897e7c314b1b5876f7cd2f44 | feat(runtime): add support loading configuration from .env file and environment variables | [https://github.com/agentscope-ai/agentscope-runtime-java/issues/70](url) | diff --git a/examples/simple_agent_use_examples/agentscope_use_example/src/main/java/io/agentscope/AgentScopeDeployWithCommandLineExample.java b/examples/simple_agent_use_examples/agentscope_use_example/src/main/java/io/agentscope/AgentScopeDeployWithCommandLineExample.java
new file mode 100644
index 00000000..44b1dcc8... | 3 | 3 | 3 | [{"id": "G0", "claim": "Remove the Lombok syntax (imports and @Getter/@Setter) used in AgentApp, because the project's coding standards do not allow Lombok.", "category": "maintainability", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Document the new .env/environment-variabl... | null |
agentscope-ai__agentscope__1050 | agentscope-ai/agentscope | 1,050 | defect | 19cba5ce88b4865b72e4c2b6ea9f3c0a8e9b66c2 | 488e2d679684eb111a56846aca15df7a96922b1b | fix(gemini model): flatten json schema in tools for gemini chat model | ## AgentScope Version
1.0.10dev
## Description
Gemini API does not support `$def`, `$ref`, thus we should flatten the JSON schema, see #884.
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `pre-commit run --all-files` command
- [x... | diff --git a/src/agentscope/model/_gemini_model.py b/src/agentscope/model/_gemini_model.py
index 1910ddebfc..432a2daca2 100644
--- a/src/agentscope/model/_gemini_model.py
+++ b/src/agentscope/model/_gemini_model.py
@@ -1,6 +1,7 @@
# -*- coding: utf-8 -*-
# mypy: disable-error-code="dict-item"
"""The Google Gemini mo... | 2 | 2 | 1 | [{"id": "G0", "claim": "A note should be added to the docstring of `_format_tools_json_schemas` explaining what the function does (documenting the new $ref/$defs flattening behavior).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Corresponding un... | null |
agentscope-ai__agentscope__1097 | agentscope-ai/agentscope | 1,097 | defect | 2bc3951a96afe4f4178bd35b7ffbcb3c3387e390 | b3ba1cf032e627ee220f0695b4072541a3ab43b2 | feat(model): add intermediate_tool_parsing for chat model | ## AgentScope Version
1.0.11
## Description
Add a boolean parameter `intermediate_tool_parsing` in the chat model to enable JSON repair for intermediate tool use content, see #1058
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `... | diff --git a/src/agentscope/message/_message_block.py b/src/agentscope/message/_message_block.py
index ed2f5903c8..853e4ac64b 100644
--- a/src/agentscope/message/_message_block.py
+++ b/src/agentscope/message/_message_block.py
@@ -87,6 +87,8 @@ class ToolUseBlock(TypedDict, total=False):
"""The name of the tool"""... | 4 | 3 | 0 | [{"id": "G0", "claim": "The raw_input field of ToolUseBlock should be typed as a string, not `str | dict[str, object]`.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The intermediate_tool_parsing docstring should be more specific, describing th... | null |
agentscope-ai__agentscope__1115 | agentscope-ai/agentscope | 1,115 | defect | b379c0815a9d54b3ece83c387ddb60928b14f8d6 | dd375e981b80256f33bf54a7553d983d7a352a7c | feat(tool): add func_name parameter to support custom tool renaming | ## AgentScope Version
1.0.11
## Description
Adds a `func_name` parameter to `register_tool_function()` method, allowing users to customize tool names during registration.
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `pre-commit ... | diff --git a/src/agentscope/tool/_toolkit.py b/src/agentscope/tool/_toolkit.py
index 13e499172e..ac7f9f99a6 100644
--- a/src/agentscope/tool/_toolkit.py
+++ b/src/agentscope/tool/_toolkit.py
@@ -208,6 +208,7 @@ def register_tool_function(
tool_func: ToolFunction,
group_name: str | Literal["basic"] = "... | 2 | 1 | 1 | [{"id": "G0", "claim": "Add unit tests covering the new func_name argument of register_tool_function.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The expression `original_name or func_name` always evaluates to input_func_name and is hard to follow; a... | null |
agentscope-ai__agentscope__1140 | agentscope-ai/agentscope | 1,140 | defect | c29bdded396eff9a47aa36643ce1169b2ebf5318 | 333ca04c3bdfdad162f8e117aa21dd276d8e9a42 | feat(session): add redis based session in agentscope | ## AgentScope Version
1.0.13dev
## Description
Add redis session
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `pre-commit run --all-files` command
- [x] All tests are passing
- [x] Docstrings are in Google style
- [x] Rel... | diff --git a/pyproject.toml b/pyproject.toml
index d4b8d26fbf..4bdd95d11f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -155,6 +155,7 @@ dev = [
"fakeredis",
"aiosqlite",
"greenlet",
+ "fakeredis",
]
[project.urls]
diff --git a/src/agentscope/session/__init__.py b/src/agentscope/session/__in... | 10 | 6 | 0 | [{"id": "G0", "claim": "The `fakeredis` dependency is duplicated in the pyproject.toml dev list and the redundant entry should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The `_get_session_key` docstring should be expanded with `A... | null |
agentscope-ai__agentscope__1157 | agentscope-ai/agentscope | 1,157 | defect | 2b61bcc46cc983253bf9ce690168ac9941e72cbf | 96bd9db2b70cbc5df90b936ad7a9484ec9beadcb | fix ollama bug in mem0 (event loop close issue) by ensuring it always runs in the same event loop | ## AgentScope Version
[The version of AgentScope you are working on, e.g. `import agentscope; print(agentscope.__version__)`]
## Description
Bug #1134
in mem0_utils.py, ensures the model client (e.g., Ollama AsyncClient), always runs in the same event loop, avoiding binding issues
## Checklist
Please c... | diff --git a/src/agentscope/memory/_long_term_memory/_mem0/_mem0_utils.py b/src/agentscope/memory/_long_term_memory/_mem0/_mem0_utils.py
index b9f972dfc2..88f3b0333e 100644
--- a/src/agentscope/memory/_long_term_memory/_mem0/_mem0_utils.py
+++ b/src/agentscope/memory/_long_term_memory/_mem0/_mem0_utils.py
@@ -5,8 +5,10... | 7 | 7 | 1 | [{"id": "G0", "claim": "Remove the debug `print` statement after the model call in `generate_response` before merging, as it adds unnecessary noise to the output.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The block after the `return` in the... | null |
agentscope-ai__agentscope__1178 | agentscope-ai/agentscope | 1,178 | defect | 88fe290e23c34038621734a575288b088947148b | 97f32bd35b5ae447dc112678916f8095d92b1759 | feat(tuner): Add Logger and Tinker Support | ## AgentScope Version
1.0.13
## Description
1. Add Logger to workfllow function and judge function inputs
2. Add tinker / TuFT backend settings
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `pre-commit run --all-files` command
... | diff --git a/src/agentscope/tuner/_config.py b/src/agentscope/tuner/_config.py
index 8d2d224db2..44e5b57093 100644
--- a/src/agentscope/tuner/_config.py
+++ b/src/agentscope/tuner/_config.py
@@ -184,7 +184,7 @@ def check_workflow_function(
func (Callable): The function to check.
"""
essential_params ... | 2 | 2 | 0 | [{"id": "G0", "claim": "The docstring entry for the optional `logger` argument (and likewise `auxiliary_models`) in _judge.py should be marked with `optional` per the repository style guide.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docst... | null |
agentscope-ai__agentscope__1187 | agentscope-ai/agentscope | 1,187 | defect | 2d06af6a0bd4c9c873142d2de6dc1592a8b72b94 | 534d3383c378b0b13793c88ffbd6bbbce6ff10e5 | fix(redis_memory): support `decode_response` to be `False` in the given `connection_pool` argument | fix(redis_memory): decode message IDs to UTF-8 for batch retrieval in RedisMemory class
## AgentScope Version
1.0.14
## Description
When passing `connection_pool` into `RedisMemory`, the `msg_id` from redis is bytes.
`get_memory()` can not get the message content correctly.
https://github.com/agentscope... | diff --git a/src/agentscope/memory/_working_memory/_redis_memory.py b/src/agentscope/memory/_working_memory/_redis_memory.py
index 512ea4faf0..cc1dc6394f 100644
--- a/src/agentscope/memory/_working_memory/_redis_memory.py
+++ b/src/agentscope/memory/_working_memory/_redis_memory.py
@@ -296,7 +296,14 @@ async def get_me... | 3 | 3 | 0 | [{"id": "G0", "claim": "The same bytes-vs-str issue is present in other methods where lrange is called and the result is assumed to be a string (e.g. delete_by_mark, clear, update_messages_mark), which can lead to bugs when the Redis client is configured with decode_responses=False; the decoding logic should be applied... | null |
agentscope-ai__agentscope__1220 | agentscope-ai/agentscope | 1,220 | defect | 73954dbb0247a7e763527988f3de4dcb83f241fb | d7326859ae088a3b0e27271d9d17ab9daa7c2888 | fix(plan): improve plan module test coverage and fix hint bug | ## Summary
This PR improves the test coverage for the plan module and fixes a critical bug in hint generation:
- **Fix hint generation bug**: Corrected the condition ordering in `DefaultPlanToHint.__call__` to ensure proper hint generation when all subtasks are completed
- **Add comprehensive tests**: Added 171 ... | diff --git a/src/agentscope/plan/_plan_notebook.py b/src/agentscope/plan/_plan_notebook.py
index 3d8e8c61dc..9b4475e36b 100644
--- a/src/agentscope/plan/_plan_notebook.py
+++ b/src/agentscope/plan/_plan_notebook.py
@@ -150,6 +150,12 @@ def __call__(self, plan: Plan | None) -> str | None:
),
... | 5 | 2 | 1 | [{"id": "G0", "claim": "Store len(self.current_plan.subtasks) in a variable at the beginning of the isinstance check instead of calling len() multiple times within the block, for conciseness.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ca... | null |
agentscope-ai__agentscope__1225 | agentscope-ai/agentscope | 1,225 | defect | 73954dbb0247a7e763527988f3de4dcb83f241fb | 00238b3949c99975aca59e6874694b1bce92ee24 | feat(realtime agent): Add video recording in realtime agent example and typo fix in realtime event | ## AgentScope Version
1.0.15
## Description
1. Fix typo in realtime event
2. Add video recording in realtime agent example
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `pre-commit run --all-files` command
- [ ] All tests ar... | diff --git a/examples/agent/realtime_voice_agent/README.md b/examples/agent/realtime_voice_agent/README.md
index 0e7fd5d784..c28af10537 100644
--- a/examples/agent/realtime_voice_agent/README.md
+++ b/examples/agent/realtime_voice_agent/README.md
@@ -39,8 +39,10 @@ http://localhost:8000
You will see a web interface wi... | 5 | 3 | 1 | [{"id": "G0", "claim": "startVideoRecording requests the microphone a second time via getUserMedia although the voice chat already holds an audio stream, which will likely cause a NotReadableError in most browsers and prevent video recording from starting; the audio constraint should be set to false.", "category": "cor... | null |
agentscope-ai__agentscope__1231 | agentscope-ai/agentscope | 1,231 | defect | d6df246a39677563ad9ed2d9bbc1d3d8d7b187f1 | 79f332c51eebeef9c1fe0a010eab371473ef5220 | fix(memory): fix the memory compression bug in `ReActAgent` and the serialization error in `InMemoryMemory` class | ## AgentScope Version
[The version of AgentScope you are working on, e.g. `import agentscope; print(agentscope.__version__)`]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
## Checklist
Please check the following items before code is ready to be reviewed.
... | diff --git a/src/agentscope/agent/_react_agent.py b/src/agentscope/agent/_react_agent.py
index 29bffbdef4..f8033ac67d 100644
--- a/src/agentscope/agent/_react_agent.py
+++ b/src/agentscope/agent/_react_agent.py
@@ -554,7 +554,12 @@ async def _reasoning(
prompt = await self.formatter.format(
msgs=[... | 3 | 1 | 1 | [{"id": "G0", "claim": "When strict=False, load_state_dict still raises a KeyError if '_compressed_summary' is absent from state_dict, inconsistent with the .get()-based handling of 'content'; use .get() with a default there as well.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro... | null |
agentscope-ai__agentscope__1234 | agentscope-ai/agentscope | 1,234 | defect | 14be0ab609068c7e7e145037e8ab493311feb0e4 | 6ca05f0d811a16c8b871be31b7ad8060fb9af081 | perf(msg): set empty dictionary as defautl value for `msg.metadata` and improve the structured model in the werewolf game example |
## AgentScope Version
1.0.16dev
## Description
1. Add an empty dict as the default value for msg.metadata
2. Modify validation for the werewolf game
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `pre-commit run --all-files` co... | diff --git a/examples/game/werewolves/structured_model.py b/examples/game/werewolves/structured_model.py
index a5f89e1cf9..5f01e4d4a3 100644
--- a/examples/game/werewolves/structured_model.py
+++ b/examples/game/werewolves/structured_model.py
@@ -2,7 +2,7 @@
"""The structured output models used in the werewolf game.""... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstrings of the new validators `clear_name_if_no_poison` and `clear_name_if_no_shoot` must be expanded to complete docstrings with `Args` and `Returns` sections, as required by the repository style guide's rule #4.", "category": "documentation", "verdict": "supported", "priority": "P2", "s... | null |
agentscope-ai__agentscope__1253 | agentscope-ai/agentscope | 1,253 | defect | f6db16547215ea580e85e362126a5ea20fd54cd4 | b2b6819ed7802d44afcda404995d283e4223b771 | fix(DashScope formatter): convert local files to base64 data in dashscope formatter | ## AgentScope Version
1.0.16
## Description
- Fix the `FileAlreadyExists` error from DashScope SDK when the same local image appears in memory across multiple agent calls
- Local media files are now converted to base64 data URIs in `_format_dashscope_media_block` instead of `file:// URLs`, avoiding repeated O... | diff --git a/examples/functionality/rag/multimodal_rag.py b/examples/functionality/rag/multimodal_rag.py
index 3a53e1995b..04720a04c0 100644
--- a/examples/functionality/rag/multimodal_rag.py
+++ b/examples/functionality/rag/multimodal_rag.py
@@ -65,7 +65,7 @@ async def example_multimodal_rag() -> None:
# Let's ... | 1 | 1 | 0 | [{"id": "G0", "claim": "The docstring of _format_dashscope_media_block must be updated to be complete and to document the newly supported VideoBlock, per the repository style guide.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}] | null |
agentscope-ai__agentscope__1505 | agentscope-ai/agentscope | 1,505 | defect | 0d8931a6d7ceaf35956d28253cff0ae0c46f9906 | c1f85b1c958101d3a973590b29aeba8185b551ae | ci(mcp): refactor the previous MCP unittests for the new version | ## PR Title Format
Please ensure your PR title follows the Conventional Commits format:
- Format: `<type>(<scope>): <description>`
- Example: `feat(memory): add redis cache support`
- Allowed types: `feat`, `fix`, `docs`, `ci`, `refactor`, `test`, `chore`, `perf`, `style`, `build`, `revert`
- Description should ... | diff --git a/src/agentscope/mcp/_http_stateful_client.py b/src/agentscope/mcp/_http_stateful_client.py
index 610471e538..14f42a6052 100644
--- a/src/agentscope/mcp/_http_stateful_client.py
+++ b/src/agentscope/mcp/_http_stateful_client.py
@@ -2,6 +2,7 @@
"""The MCP stateful HTTP client module in AgentScope."""
from t... | 11 | 2 | 1 | [{"id": "G0", "claim": "In the streamable_http branch of HttpStatelessClient.get_client, **client_kwargs are no longer passed through to streamable_http_client (only url and http_client are), which may change behavior for callers relying on them; plumb supported kwargs through or remove **client_kwargs from the API for... | null |
agentscope-ai__agentscope__816 | agentscope-ai/agentscope | 816 | defect | 05c6d317b66af2cb302367fa180a5d9cf1a920f1 | 8998ecc661c441c961b7749dd33a48542e43cd9e | Add `tune` module to support training agent workflow with RL | ## AgentScope Version
`1.0.5`
## Description
This PR add a `tune` module to support training agent workflow using RL with Trinity-RFT's functionality.
- Add a new model class named `TrinityModel`, which wraps the rollout model provided by Trinity-RFT
- Define a `WorkflowType` interface to standardize the i... | diff --git a/examples/agentic_rl/react_agent/README.md b/examples/agentic_rl/react_agent/README.md
new file mode 100644
index 0000000000..d40798ae7e
--- /dev/null
+++ b/examples/agentic_rl/react_agent/README.md
@@ -0,0 +1,32 @@
+# Train ReAct Agent with Reinforcement Learning
+
+This example demonstrates how to train t... | 8 | 6 | 0 | [{"id": "G0", "claim": "The test's docstring is misleading because it says 'OpenAI async client' for a test of Trinity client initialization and should read 'Test initialization with a valid Trinity async client.'", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G... | null |
agentscope-ai__agentscope__825 | agentscope-ai/agentscope | 825 | defect | 45f56b03a1809f4daac6926b46dfa993e0434678 | db36ac2d272850e6b2f37ff6980f23c47017550a | Add support for milvus lite vector database in the RAG module of AgentScope | ## AgentScope Version
[v1.0.4]
## Description
[Added support for milvus lite vector database in the RAG module of AgentScope, with an instance of milvuslitestore.py, and created a collection of corresponding examples, with an instance of milvuslitestoreexample.py.]
## Checklist
Add agentscope/src/agentscope/rag/_s... | diff --git a/examples/functionality/rag/milvuslite_store.py b/examples/functionality/rag/milvuslite_store.py
new file mode 100644
index 0000000000..9e587a76c3
--- /dev/null
+++ b/examples/functionality/rag/milvuslite_store.py
@@ -0,0 +1,316 @@
+# -*- coding: utf-8 -*-
+"""Example of using MilvusLiteStore in AgentScope ... | 3 | 3 | 0 | [{"id": "G0", "claim": "Create a new directory \"vector_store\" under examples/functionality to distinguish the vector store example from the rag examples.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Please add a README.md for the new example.", "cate... | null |
agentscope-ai__agentscope__885 | agentscope-ai/agentscope | 885 | defect | 4d105b7afe5a1774f5247709787d9a646a7c0996 | 25a5256c842bf549611a145a54fb94ce00e57d43 | feat(toolkit): support async func for the `postprocess_func` argument in toolkit | ## AgentScope Version
[The version of AgentScope you are working on, e.g. `import agentscope; print(agentscope.__version__)`]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
## Checklist
Please check the following items before code is ready to be reviewed.
... | diff --git a/src/agentscope/_version.py b/src/agentscope/_version.py
index 9fddc78819..94590277ed 100644
--- a/src/agentscope/_version.py
+++ b/src/agentscope/_version.py
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
"""The version of agentscope."""
-__version__ = "1.0.6"
+__version__ = "1.0.7"
diff --git a/src/agentscop... | 3 | 2 | 0 | [{"id": "G0", "claim": "The docstring of test_async_postprocess_func should be updated to 'Test async postprocess function.' so it accurately reflects that it tests async postprocessing, distinguishing it from the existing test_postprocess_func test.", "category": "documentation", "verdict": "supported", "priority": "P... | null |
agentscope-ai__agentscope__895 | agentscope-ai/agentscope | 895 | defect | c2c59e56c98c82967cb449d8ea195536adbda70e | da7ef5de2f066844f915a051db1084d975cb4633 | fix(plan, rag) fix the bug in the word reader and plan notebook class. | ## AgentScope Version
[The version of AgentScope you are working on, e.g. `import agentscope; print(agentscope.__version__)`]
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
## Checklist
Please check the following items before code is ready to be reviewed.
... | diff --git a/src/agentscope/plan/_in_memory_storage.py b/src/agentscope/plan/_in_memory_storage.py
index 627c91f3cd..54def9693b 100644
--- a/src/agentscope/plan/_in_memory_storage.py
+++ b/src/agentscope/plan/_in_memory_storage.py
@@ -14,6 +14,15 @@ def __init__(self) -> None:
super().__init__()
self.... | 4 | 1 | 0 | [{"id": "G0", "claim": "The success message is built with `+` concatenation, which is inefficient and less readable, and appends a trailing space when `suffix` is empty; it should use an f-string with conditional formatting.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced... | null |
agentscope-ai__agentscope__910 | agentscope-ai/agentscope | 910 | defect | 3ca8561715089e40ae113b44c8d34694f241f62c | cf2d4bdbb0f23d7e0cf5fe1611e060b91a6373cd | refactor(agent): refactor the structured output logic within the `ReActAgent` class | ## AgentScope Version
1.0.7
## Description
Refactor generate response: The generate_response tool will only be registered when structured output is needed.
## Checklist
Please check the following items before code is ready to be reviewed.
- [x] Code has been formatted with `pre-commit run --all-files... | diff --git a/src/agentscope/agent/_react_agent.py b/src/agentscope/agent/_react_agent.py
index 07cbd3605f..8c72c401a4 100644
--- a/src/agentscope/agent/_react_agent.py
+++ b/src/agentscope/agent/_react_agent.py
@@ -5,7 +5,6 @@
import asyncio
from typing import Type, Any, AsyncGenerator, Literal
-import shortuuid
f... | 4 | 2 | 1 | [{"id": "G0", "claim": "The hint string in the system-hint message should read \"go on to finish your task\" instead of the ungrammatical \"go on finish your task\", since the hint is visible to the model.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "cla... | null |
agentscope-ai__agentscope__911 | agentscope-ai/agentscope | 911 | defect | f8ac994e59be1f97ee5dc8dc8e9ff1b05036584e | 0a60a93260f527fa90e64239683d4dbdaeb6f751 | feat(deployment): add example for deploying a routing agent as a chat endpoint | ## AgentScope Version
1.0.7
## Description
[Please describe the background, purpose, changes made, and how to test this PR]
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `pre-commit run --all-files` command
- [ ] All tests are ... | diff --git a/README.md b/README.md
index 0cba7e0ccd..6e97219638 100644
--- a/README.md
+++ b/README.md
@@ -391,6 +391,7 @@ as_studio
- [Session with SQLite](https://github.com/agentscope-ai/agentscope/tree/main/examples/functionality/session_with_sqlite)
- [Stream Printing Messages](https://github.com/agentsc... | 12 | 1 | 1 | [{"id": "G0", "claim": "The docstring of the new `queue` parameter of `stream_printing_messages` should document when and why a caller would provide their own queue instead of the default behavior.", "category": "documentation", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Th... | null |
agentscope-ai__agentscope__939 | agentscope-ai/agentscope | 939 | defect | 8299e1ba50c3cfca35426a87e6367b664be947d4 | c9b0398ed93d1a949ee4e59e66b2c6222b810f1a | feat(toolkit): support different strategies for duplicated tools | ## AgentScope Version
[The version of AgentScope you are working on, e.g. `import agentscope; print(agentscope.__version__)`]
## Description
Support the following strategies when registering duplicated tool functions:
- override
- rename
- skip
- raise
## Checklist
Please check the following items ... | diff --git a/src/agentscope/_utils/_common.py b/src/agentscope/_utils/_common.py
index 8c648bb321..aa19a2548d 100644
--- a/src/agentscope/_utils/_common.py
+++ b/src/agentscope/_utils/_common.py
@@ -14,10 +14,12 @@
from typing import Union, Any, Callable, Type, Dict
import requests
+from docstring_parser import par... | 3 | 1 | 0 | [{"id": "G0", "claim": "The `shortuuid` import should be moved from the module top to the point of use (the rename-strategy block), per the project's lazy-loading guideline.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docstring of the new... | null |
agentscope-ai__agentscope__941 | agentscope-ai/agentscope | 941 | defect | c7266f666e5226f8b40c4d5e17efeff2a8a151c5 | f6786e047005b78a81ce314c27bcd4c8278d57e6 | fix(toolkit): merge $defs when extending tool function schema with nested models | ## AgentScope Version
1.0.8dev
## Description
1. Merge $defs when extending tool function schema with nested models
2. Add unittest
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `pre-commit run --all-files` command
- [ ] All t... | diff --git a/src/agentscope/tool/_registered_tool_function.py b/src/agentscope/tool/_registered_tool_function.py
index c1438977fc..9ab88ca09b 100644
--- a/src/agentscope/tool/_registered_tool_function.py
+++ b/src/agentscope/tool/_registered_tool_function.py
@@ -69,6 +69,7 @@ def extended_json_schema(self) -> dict:
... | 1 | 1 | 1 | [{"id": "G0", "claim": "The code should not raise an error unconditionally when a $defs key already exists — it is valid for the extended model to reuse the same BaseModel class as the original function, so identical definitions should skip the conflict check instead of raising, as shown by a test where the original fu... | null |
agentscope-ai__agentscope__957 | agentscope-ai/agentscope | 957 | defect | f5fdc3740a27c9236769747bc6af05247cea9193 | a92ede27c9679f5afef93cd5963802db5ea9bddb | fix(model & doc): unify client_args and client_kwargs arguments in the chat model classes into client_kwargs | ## AgentScope Version
1.0.8
## Description
As the title says. Fix #949
## Checklist
Please check the following items before code is ready to be reviewed.
- [ ] Code has been formatted with `pre-commit run --all-files` command
- [ ] All tests are passing
- [ ] Docstrings are in Google style
- [ ... | diff --git a/docs/tutorial/en/src/task_model.py b/docs/tutorial/en/src/task_model.py
index 3fffb22274..381ca130a2 100644
--- a/docs/tutorial/en/src/task_model.py
+++ b/docs/tutorial/en/src/task_model.py
@@ -56,11 +56,11 @@
.. note:: When using vLLM, you need to configure the appropriate tool calling parameters for d... | 3 | 3 | 1 | [{"id": "G0", "claim": "The deprecated `client_args` argument should be accepted via the keyword argument field `**kwargs` instead of an explicit deprecated constructor parameter in the chat model classes.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "T... | null |
agentscope-ai__agentscope__962 | agentscope-ai/agentscope | 962 | defect | a2bf80ec96e29cb760ac6d4018680d6af68c9416 | 78b2cfffeee532ff823d9c3d30d996c20f0d1c2a | fix(toolkit): fix meta tool failing to deactivate tool groups | ## AgentScope Version
1.0.9dev
## Description
1. Fix the bug in the #959 that the meta tool `reset_equipped_tools` failed to deactivate tool groups
2. Update the docstring of the meta tool
3. Add unittests for meta tool controls
## Checklist
Please check the following items before code is ready to be r... | diff --git a/src/agentscope/_utils/_common.py b/src/agentscope/_utils/_common.py
index aa19a2548d..e7008228c6 100644
--- a/src/agentscope/_utils/_common.py
+++ b/src/agentscope/_utils/_common.py
@@ -321,7 +321,7 @@ def _parse_tool_function(
if include_long_description and docstring.long_description is not None:
... | 4 | 2 | 0 | [{"id": "G0", "claim": "The docstring of reset_equipped_tools says \"allows you to active or deactivate tool groups\" (in _toolkit.py and mirrored in the test's expected description), and \"active\" should be \"activate\" in both places.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": ... | null |
agersant__polaris__144 | agersant/polaris | 144 | defect | 4c25195debb238691aadef4cbfed980325c586e8 | 762ab83c65b5d530654007bf7d4e12d150389fb5 | add api parameter for thumbnail size | This implement #143. Before I write any tests, what do you think of this? | diff --git a/.gitignore b/.gitignore
index 3bc29b84..0ae085c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,6 +10,7 @@ TestConfig.toml
# Runtime artifacts
*.sqlite
polaris.log
+polaris.pid
/thumbnails
# Release process artifacts (usually runs on CI)
diff --git a/docs/swagger/polaris-api.json b/docs/swagger/pol... | 7 | 6 | 2 | [{"id": "G0", "claim": "max_dimension in thumbnail::Options should be optional (e.g. Option<u32>) instead of using the u32::MAX sentinel for native size, which would be more explicit and could one day allow returning the source image directly.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "... | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.