Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need error handling in processDocumentationSnippetResult for when cloud is unreachable (no status code returned) #999

Closed
sihs-phys opened this issue Dec 21, 2024 · 0 comments · Fixed by #1040

Comments

@sihs-phys
Copy link

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 "2.0.1"
ReleaseID "92802b1ef8f559233ce0b012c36984092f64df5b"
EvaluationEnvironment "Session"
FrontEndVersion "Desktop: 14.1 for Microsoft Windows (64-bit) (July 16, 2024)"
KernelVersion "14.1.0 for Microsoft Windows (64-bit) (July 16, 2024)"
SystemID "Windows-x86-64"
Notebooks True
DynamicEvaluation False
SynchronousEvaluation False
TaskEvaluation False

Settings

Property Value
InheritanceTest True
ToolSelectionType <||>
ToolSelections <|"WolframAlpha" -> <|"CodeWriter" -> True, "PlainChat" -> True, "WolframAI" -> True|>, "WebSearcher" -> <|"CodeAssistant" -> True, "CodeWriter" -> True, "WolframAI" -> True|>, "WebFetcher" -> <|"CodeAssistant" -> True, "CodeWriter" -> True, "WolframAI" -> True|>, "WebImageSearcher" -> <|"CodeAssistant" -> True, "CodeWriter" -> True, "Wolfie" -> True, "WolframAI" -> True|>, "WolframLanguageEvaluator" -> <|"CodeWriter" -> True, "PlainChat" -> True|>, "DocumentationLookup" -> <|"PlainChat" -> True...
Model <|"Service" -> "DeepSeek", "Name" -> "deepseek-coder"|>
Assistance True
StyleSheetVersion "1.5.2.3.3941177587"

Failure Data

<|
  "Evaluation" :> Wolfram`Chatbook`PromptGenerators`RelatedDocumentation`Private`processDocumentationSnippetResult["https://resources.wolframcloud.com/FunctionRepository/resources/NumPyCholeskyDecomposition", <|"URI" -> "https://resources.wolframcloud.com/FunctionRepository/resources/NumPyCholeskyDecomposition", "URL" -> "https://www.wolframcloud.com/obj/wolframai-content/DocumentationSnippets/Resources/Text/FunctionRepository/NumPyCholeskyDecomposition.wxf", "Task" -> TaskObject[<|"TaskUUID" -> "cada4fa5-01c5-46...,
  "Stack" :> Wolfram`Chatbook`Common`Private`$stack$42380,
  "Arguments" -> {}
|>

Stack Data

trimURL
throwFailure
catchTop
formatGeneratedPrompt
catchTopAs
withChatState
@rhennigan rhennigan changed the title Insert Title Here Need error handling in processDocumentationSnippetResult for when cloud is unreachable (no status code returned) Jan 21, 2025
@rhennigan rhennigan marked this as a duplicate of #1015 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant