puter
puter copied to clipboard
[Tests] Add unit tests for ai-chat utils (Messages, FunctionCalling, Streaming)
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.