1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-12-02 20:22:52 +00:00
This commit is contained in:
Laura
2025-09-12 14:34:08 +02:00
parent 5998f61823
commit ea65f7fd60
7 changed files with 143 additions and 29 deletions

View File

@@ -79,6 +79,13 @@ func TextChunk(text string) Chunk {
}
}
func ImageChunk(image string) Chunk {
return Chunk{
Type: "image",
Text: image,
}
}
func ToolChunk(tool *ToolCall) Chunk {
return Chunk{
Type: "tool",