Open
Conversation
Change-Id: I531eed928a02863b167eaf8716adcd0cb8a1490a Co-developed-by: Cursor <noreply@cursor.com>
Change-Id: I00078449e10b00c5757c77a5cd5f7fd3d97f99a7 Co-developed-by: Cursor <noreply@cursor.com>
Change-Id: I35332b6ec9e130332442d9ac372df0c4b0a521ee Co-developed-by: Cursor <noreply@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
react stepspan instrumentation for AgentScope ReAct agents. Each ReAct iteration (reasoning → acting) is wrapped in a dedicated span for trace visualization.Implemented via AgentScope's built-in instance-level hook system, no internal monkey-patching needed.
Fixes #137
Type of change
How Has This Been Tested?
5 new VCR test cases covering: text-only response, single/multi tool calls, exception handling, hook cleanup.
Verified with live traffic against CMS 2.0 OTLP backend.
TestReactStepSpan— 5 tests passedDoes This PR Require a Core Repo Change?
Checklist: