added structure for db

This commit is contained in:
Radu Macocian (admac)
2026-06-12 16:44:04 +02:00
parent de546d8df4
commit 4f989aa512
8 changed files with 252 additions and 58 deletions
+14
View File
@@ -0,0 +1,14 @@
package model
type Message struct {
Role string `json:"role"`
Content string `json:"content"`
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
}
type ToolCall struct {
ID string `json:"id"`
Type string `json:"type"`
FunctionName string `json:"function"`
FunctionArguments string `json:"arguments"`
}