Added additional_messages (#914)
This commit is contained in:
13
run.go
13
run.go
@@ -83,12 +83,13 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type RunRequest struct {
|
type RunRequest struct {
|
||||||
AssistantID string `json:"assistant_id"`
|
AssistantID string `json:"assistant_id"`
|
||||||
Model string `json:"model,omitempty"`
|
Model string `json:"model,omitempty"`
|
||||||
Instructions string `json:"instructions,omitempty"`
|
Instructions string `json:"instructions,omitempty"`
|
||||||
AdditionalInstructions string `json:"additional_instructions,omitempty"`
|
AdditionalInstructions string `json:"additional_instructions,omitempty"`
|
||||||
Tools []Tool `json:"tools,omitempty"`
|
AdditionalMessages []ThreadMessage `json:"additional_messages,omitempty"`
|
||||||
Metadata map[string]any `json:"metadata,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.
|
// Sampling temperature between 0 and 2. Higher values like 0.8 are more random.
|
||||||
// lower values are more focused and deterministic.
|
// lower values are more focused and deterministic.
|
||||||
|
|||||||
Reference in New Issue
Block a user