Skip to content

Commit

Permalink
Added additional_messages
Browse files Browse the repository at this point in the history
  • Loading branch information
sabuhigr authored Dec 9, 2024
1 parent 56a9acf commit f92a942
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions run.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,13 @@ const (
)

type RunRequest struct {
AssistantID string `json:"assistant_id"`
Model string `json:"model,omitempty"`
Instructions string `json:"instructions,omitempty"`
AdditionalInstructions string `json:"additional_instructions,omitempty"`
Tools []Tool `json:"tools,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`
AssistantID string `json:"assistant_id"`
Model string `json:"model,omitempty"`
Instructions string `json:"instructions,omitempty"`
AdditionalInstructions string `json:"additional_instructions,omitempty"`
AdditionalMessages []ThreadMessage `json:"additional_messages,omitempty"`
Tools []Tool `json:"tools,omitempty"`
Metadata map[string]any `json:"metadata,omitempty"`

// Sampling temperature between 0 and 2. Higher values like 0.8 are more random.
// lower values are more focused and deterministic.
Expand Down

0 comments on commit f92a942

Please sign in to comment.