-
Notifications
You must be signed in to change notification settings - Fork 321
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When using DashscopeLLMClient to execute StreamingAgentWithTools,
An anomaly has occurred:
Caused by: kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 0: Cannot read Json element because of unexpected end of the object '}' at path: $ JSON input: }
After investigation, two potential issues were found in the code:
- When the returned id is "", appendArgumentsDelta should be executed.but it is not.
- When function.arguments is null, the generated JSON has issues.
================================================================================
Since DashscopeLLMClient is final, it cannot be inherited.The only option is to write a similar "repeated" client, mimicking DashscopeLLMClient.
I am puzzled, is there an issue with the data format returned by aliyun? Or do we need to adjust upsertToolCall? Thanks:)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working