Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
Bryan Frimin
2026-03-16 00:28:47 +01:00
parent 7147cf189a
commit 6a77d42dd6
19 changed files with 21 additions and 37 deletions

View File

@@ -21,18 +21,18 @@ import (
type (
ChatCompletionRequest struct {
Model string
Messages []Message
MaxTokens *int
Temperature *float64
TopP *float64
FrequencyPenalty *float64
PresencePenalty *float64
StopSequences []string
Tools []Tool
ToolChoice *ToolChoice
ParallelToolCalls *bool
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
@@ -90,7 +90,7 @@ type (
}
ChatCompletionStreamEvent struct {
Model string // present on first event if provider supports it
Model string // present on first event if provider supports it
Delta MessageDelta
Usage *Usage // present on final event if provider supports it
FinishReason *FinishReason // present on final event