Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

### Fixed
- **LLM Content Capture**: Fixed critical bug where LLM layer input/output messages were not being captured in spans
- Removed duplicate message conversion in `convert_agentscope_messages_to_genai_format` that was causing content loss
- Dict messages are already in parts format from `extract_llm_attributes`, no need to re-convert with `get_message_converter`
- Simplified message conversion logic to avoid redundant transformations
- Enhanced test coverage with comprehensive LLM I/O content verification

### Breaking Changes
- **Minimum AgentScope version requirement**: Only supports AgentScope 1.0.0 and above. Previous 0.x versions are not supported.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,14 +432,7 @@ def convert_agentscope_messages_to_genai_format(
if isinstance(msg, Msg):
msg_dict = _format_msg_to_parts(msg)
elif isinstance(msg, dict):
if provider_name:
try:
converted = get_message_converter(provider_name)([msg])
msg_dict = converted[0] if converted else msg
except Exception:
msg_dict = msg
else:
msg_dict = msg
msg_dict = msg
else:
continue

Expand Down
Loading
Loading