工具调用能力太差,基本稳定复现
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by reproducing the weather-tool workflow described in the issue and inspect the generated messages payload, especially the empty assistant content and subsequent weather result. Trace where tool results are converted into messages; done means the request no longer returns the missing messages.content 400 error and the workflow completes normally.
Written by the indexing model from the issue text.
Description
调用一个天气查询,执行后将天气查询结果放在text中,然后模型报400,missing messages.content parameter,进而工作流异常结束
{
"model": "doubao-seed-1-8-251228",
"messages": [
{
"role": "system",
"content": "Answer user questions to the best of your knowledge.\n1. use the 'getCurrentTime' tool to query the city...s current time.\n2. use the 'getWeather' tool to query the city...s current weather.\n\n\nYou are an agent. Your internal name is "ark_agent". The description about you is "A helpful assistant for user questions."."
},
{
"role": "user",
"content": [
{
"type": "text",
"text": "............"
}
]
},
{
"role": "assistant",
"content": []
},
{
"role": "user",
"content": [
{
"type": "text",
"text": "{"status":"success","report":"The weather in ...... is sunny with a temperature of 25 degrees Celsius (77 degrees Fahrenheit)."}"
}
]
}
],
"tools": [
{
"type": "function",
"function": {
"name": "getWeather",
"description": "Get the weather for a given city",
"parameters": {
"properties": {
"city": {
"description": "The name of the city for which to retrieve the weather report",
"type": "string"
}
},
"required": [
"city"
],
"type": "object"
}
}
},
{
"type": "function",
"function": {
"name": "getCurrentTime",
"description": "Get the current time for a given city",
"parameters": {
"properties": {
"city": {
"description": "Name of the city to get the time for",
"type": "string"
}
},
"required": [
"city"
],
"type": "object"
}
}
}
]
}
- Dominant language
- Java
- Stars
- 110
- Forks
- 7
- Avg merge
- 8m
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from volcengine/veadk-java
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
volcengine/veadk-java#4 ·
-
ArkLlm中不支持图片上传吗 Open
Difficulty 3/5 1-2 days Newbie friendliness 48/100
volcengine/veadk-java#3 · 1 comment ·
All issues in volcengine/veadk-java
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
checkstyle/test-configs#263 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
1.0.0-alpha2 Type/Improvement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wso2/dpdp-accelerator#272 ·