WolframResearch / Chatbook

Wolfram Notebooks + LLMs
MIT License
78 stars 8 forks source link

ChatGPT connection failed #175

Closed Matariki closed 1 year ago

Matariki commented 1 year ago

Describe the issue in detail here. Attach any relevant screenshots or files. The section below was automatically generated. Remove any information that you do not wish to include in the report.

Debug Data | Property | Value | | --- | --- | | Name | ``"Wolfram/Chatbook"`` | | Version | ``"0.0.27"`` | | EvaluationEnvironment | ``"Session"`` | | FrontEndVersion | ``"Desktop: 13.2 for Mac OS X x86 (64-bit) (January 30, 2023)"`` | | KernelVersion | ``"13.2.1 for Mac OS X x86 (64-bit) (January 27, 2023)"`` | | SystemID | ``"MacOSX-x86-64"`` | | Notebooks | ``True`` | | DynamicEvaluation | ``False`` | | SynchronousEvaluation | ``False`` | | TaskEvaluation | ``False`` | ## Settings | Property | Value | | --- | --- | | TemperatureSetting | ``0.7`` | | Role | ``"System"`` | | Model | ``"gpt-4"`` | ## Stack Data ``` catchTopAs throwFailure trimURL ``` ## Failure Data ``` <| "Evaluation" :> Wolfram`Chatbook`Actions`Private`prepareChatOutputPage[CellObject["ff5a97ba-41fb-4032-886e-6d1b508b4e61", "d6258f8f-3114-4ded-a502-aa0bf2e72693"], Cell[BoxData[DynamicBox[ToBoxes[Refresh[Wolfram`Chatbook`Actions`Private`dynamicTextDisplay[Wolfram`Chatbook`Actions`Private`container$11885, True], TrackedSymbols :> {}, UpdateInterval -> 0.4], StandardForm], Initialization :> If[$SessionID =!= 24157613491856861813, NotebookDelete[EvaluationCell[]]], Deinitialization :> Quiet[TaskRemove[Wolfram`Chatb... "Failure" -> Failure["ConfirmationFailed", <|"Information" :> "NotebookRead", "MessageTemplate" -> "`` does not match ``.", "MessageParameters" :> {$Failed, _Cell}, "ConfirmationType" -> "ConfirmMatch", "Expression" :> $Failed, "Pattern" :> _Cell|>] "Arguments" -> {} |> ```
rhennigan commented 1 year ago

This NotebookRead is failing:

https://github.com/WolframResearch/Chatbook/blob/dd413a89d815e694e20b0e8e6cc21ba9f7f4ab0e/Source/Chatbook/Actions.wl#L984

It's almost certainly a direct result of #187.