fix(types): agent processing stuff

This commit is contained in:
2025-04-09 12:12:09 +01:00
parent e065492dd4
commit d36dec8d60
6 changed files with 24 additions and 25 deletions

View File

@@ -73,7 +73,7 @@ type ChatAiMessage struct {
Role string `json:"role"`
ToolCalls *[]ToolCall `json:"tool_calls,omitempty"`
MessageContent `json:"content"`
Content string `json:"content"`
}
func (m ChatAiMessage) IsResponse() bool {

View File

@@ -4,7 +4,6 @@ import (
"bytes"
"encoding/json"
"errors"
"fmt"
"io"
"log"
"net/http"