Add agent library

Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-13 14:30:47 +01:00
parent 158c36d9ab
commit 9fd251ee5d
40 changed files with 9231 additions and 38 deletions

View File

@@ -21,15 +21,18 @@ import (
type (
ChatCompletionRequest struct {
Model string
Messages []Message
MaxTokens *int
Temperature *float64
TopP *float64
StopSequences []string
Tools []Tool
ToolChoice *ToolChoice
ResponseFormat *ResponseFormat
Model string
Messages []Message
MaxTokens *int
Temperature *float64
TopP *float64
FrequencyPenalty *float64
PresencePenalty *float64
StopSequences []string
Tools []Tool
ToolChoice *ToolChoice
ParallelToolCalls *bool
ResponseFormat *ResponseFormat
}
ToolChoiceType string
@@ -50,6 +53,7 @@ type (
Name string
Description string
Schema json.RawMessage
Strict bool
}
FinishReason string