agentscope-ai / agentscope-ai/agentscope-java

[Bug]:SKILL.md 元数据区通过多行定义数组类型数据,执行技能是报错:sequence entries are not allowed here in 'string', line 6, column 18:

Đang mở
#1,438 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
area/core/tool bug
Ngôn ngữ chính
Java
Star
5.6k
Fork
1.3k
Merge trung bình
4 ngày 12 giờ
Pull request đã merge (30 ngày)
77

Mô tả

**AgentScope-Java is an open-source project. To involve a broader community, we recommend asking your questions in English.**

**Describe the bug**
SKILL.md 元数据区通过多行定义数组类型数据,执行技能是报错:sequence entries are not allowed here in 'string', line 6, column 18:

**To Reproduce**
Steps to reproduce the behavior:

Image

看了这个方法的注释,AgentScope's frontmatter parser only accepts flat key: value lines,是不是这里就会把格式去除了
运行时定义在元数据区的数组格式被变成了一行,导致-校验不通过
**Expected behavior**
A clear and concise description of what you expected to happen.

**Error messages**
sequence entries are not allowed here in 'string', line 6, column 18:

**Environment (please complete the following information):**

- AgentScope-Java Version: 1.1.0-RC2
- Java Version: 21
- OS:windows

**Additional context**
Add any other context about the problem here.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.