Skip to content

chore: bump version to 1.1.4#479

Merged
rayrayraykk merged 5 commits intoagentscope-ai:mainfrom
rayrayraykk:weirui/dev/release0409
Apr 9, 2026
Merged

chore: bump version to 1.1.4#479
rayrayraykk merged 5 commits intoagentscope-ai:mainfrom
rayrayraykk:weirui/dev/release0409

Conversation

@rayrayraykk
Copy link
Copy Markdown
Member

Description

[Describe what this PR does and why]

Related Issue: Fixes #[issue_number] or Relates to #[issue_number]

Security Considerations: [If applicable, especially for sandbox changes]

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • Refactoring

Component(s) Affected

  • Engine
  • Sandbox
  • Tools
  • Common
  • Documentation
  • Tests
  • CI/CD

Checklist

  • Pre-commit hooks pass
  • Tests pass locally
  • Documentation updated (if needed)
  • Ready for review

Testing

[How to test these changes]

Additional Notes

[Optional: any other context]

@rayrayraykk rayrayraykk requested review from a team and Copilot April 9, 2026 12:09
@rayrayraykk rayrayraykk changed the title docs: bump version to 1.1.4 chore: bump version to 1.1.4 Apr 9, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the AgentScope Runtime version to 1.1.4 and adjusts AgentScope message conversion logic for audio content.

Changes:

  • Bump package version in pyproject.toml to 1.1.4.
  • Bump runtime __version__ to v1.1.4.
  • Change audio content URL detection to accept any parsed URL scheme.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
src/agentscope_runtime/version.py Updates runtime __version__ to v1.1.4.
pyproject.toml Updates package version to 1.1.4.
src/agentscope_runtime/adapters/agentscope/message.py Alters audio block conversion logic (URL vs base64 detection).

Comment on lines 266 to 270
else:
parsed_url = urlparse(value)
if parsed_url.scheme and parsed_url.netloc:
if parsed_url.scheme:
url_source = URLSource(type="url", url=value)
msg_content.append(
Copy link

Copilot AI Apr 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL detection for audio content now treats any parsed scheme as a URL. This will classify malformed/relative strings like 'http:example.com' (scheme='http', empty netloc) as a URL and can also allow unexpected schemes (e.g., 'javascript:'), which may be unsafe or break downstream consumers expecting http(s) URLs. Consider validating against an allowlist of schemes (e.g., http/https, possibly file if intended) and requiring a netloc for network schemes (or otherwise using a more robust URL validation).

Copilot uses AI. Check for mistakes.
Comment thread src/agentscope_runtime/adapters/agentscope/message.py
@rayrayraykk rayrayraykk merged commit d9e6219 into agentscope-ai:main Apr 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants