Save and load sessions (#2063)

This commit is contained in:
Patrick Devine
2024-01-25 12:12:36 -08:00
committed by GitHub
parent e64b5b07a2
commit 7c40a67841
8 changed files with 312 additions and 39 deletions

View File

@@ -458,15 +458,17 @@ func RunGenerate(cmd *cobra.Command, args []string) error {
type generateContextKey string
type runOptions struct {
Model string
Prompt string
Messages []api.Message
WordWrap bool
Format string
System string
Template string
Images []api.ImageData
Options map[string]interface{}
Model string
ParentModel string
Prompt string
Messages []api.Message
WordWrap bool
Format string
System string
Template string
Images []api.ImageData
Options map[string]interface{}
MultiModal bool
}
type displayResponseState struct {