puter icon indicating copy to clipboard operation
puter copied to clipboard

[Tests] Add unit tests for ai-chat utils (Messages, FunctionCalling, Streaming)

Open Salazareo opened this issue 6 months ago • 0 comments

Messages.js, FunctionCalling.js, and Streaming.js are imported across all chat providers but untested. Cover message building/merging, tool-call serialization round-trips, and stream chunk parsing/aggregation with fixture inputs.

Salazareo avatar May 08 '26 00:05 Salazareo