{"record":{"id":"af9cdadbb1b6be58","repo":"sipeed/picoclaw","slug":"isolatedsidequestionprovider-w","errorCode":null,"errorMessage":"isolatedSideQuestionProvider: %w","messagePattern":"isolatedSideQuestionProvider: %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/agent/turn_coord.go","lineNumber":645,"sourceCode":"\tbaseModelName string,\n\tcandidate providers.FallbackCandidate,\n) (providers.LLMProvider, string, *config.ModelConfig, func(), error) {\n\tif agent == nil {\n\t\treturn nil, \"\", nil, func() {}, fmt.Errorf(\"isolatedSideQuestionProvider: no agent available for /btw\")\n\t}\n\n\tmodelCfg, err := al.sideQuestionModelConfig(agent, baseModelName, candidate)\n\tif err != nil {\n\t\treturn nil, \"\", nil, func() {}, fmt.Errorf(\"isolatedSideQuestionProvider: %w\", err)\n\t}\n\n\tfactory := al.providerFactory\n\tif factory == nil {\n\t\tfactory = providers.CreateProviderFromConfig\n\t}\n\tprovider, modelID, err := factory(modelCfg)\n\tif err != nil {\n\t\treturn nil, \"\", nil, func() {}, fmt.Errorf(\"isolatedSideQuestionProvider: %w\", err)\n\t}\n\n\tcleanup := func() {\n\t\tcloseProviderIfStateful(provider)\n\t}\n\treturn provider, modelID, modelCfg, cleanup, nil\n}\n\nfunc (al *AgentLoop) sideQuestionModelConfig(\n\tagent *AgentInstance,\n\tbaseModelName string,\n\tcandidate providers.FallbackCandidate,\n) (*config.ModelConfig, error) {\n\tif agent == nil {\n\t\treturn nil, fmt.Errorf(\"sideQuestionModelConfig: no agent available for /btw\")\n\t}\n\n\tif name := modelAliasFromCandidateIdentityKey(candidate.IdentityKey); name != \"\" {","sourceCodeStart":627,"sourceCodeEnd":663,"githubUrl":"https://github.com/sipeed/picoclaw/blob/49183d7e8daed0dba89ddbb6fcb60089401d9680/pkg/agent/turn_coord.go#L627-L663","documentation":"Error \"isolatedSideQuestionProvider: %w\" thrown in sipeed/picoclaw.","triggerScenarios":"Thrown at pkg/agent/turn_coord.go:645 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"49183d7e8daed0dba89ddbb6fcb60089401d9680","analyzedAt":"2026-08-15T21:55:41.315Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}