-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Description
Reproduce step:
- export GPTSCRIPT_CHAT_STATE=null; and run a chat.gpt script and save the returned initial state to GPTSCRIPT_CHAT_STATE.
- rerun the chat.gpt script should be able to resume; however resume failed.
should the following line marshal resp.State in stead of resp?
data, err := json.Marshal(resp.State)
gptscript/pkg/cli/gptscript.go
Line 386 in 52d6974
data, err := json.Marshal(resp) |
Thanks
Metadata
Metadata
Assignees
Labels
No labels