{"record":{"id":"a8011691e6c55303","repo":"odysseus-dev/odysseus","slug":"no-endpoint-configured-add-one-in-settings-first","errorCode":null,"errorMessage":"No endpoint configured — add one in Settings first","messagePattern":"No endpoint configured — add one in Settings first","errorType":"http","errorClass":"HTTPException","httpStatus":400,"severity":"error","filePath":"routes/research/research_routes.py","lineNumber":727,"sourceCode":"                ep = _owned_enabled_endpoint(db, user)\n                if ep:\n                    base = normalize_base(ep.base_url)\n                    fallback_url = build_chat_url(base)\n                    fallback_headers = build_headers(ep.api_key, base)\n                    fallback_model = \"\"\n                    if ep.cached_models:\n                        try:\n                            models = json.loads(ep.cached_models)\n                            if models:\n                                fallback_model = _first_chat_model(models)\n                        except Exception:\n                            pass\n                    _merge(fallback_url, fallback_model, fallback_headers)\n            finally:\n                db.close()\n\n        if not ep_url or not ep_model:\n            raise HTTPException(400, \"No endpoint configured — add one in Settings first\")\n\n        # Create new session\n        new_sid = str(uuid.uuid4())\n\n        title_query = (query or \"research\").strip()\n        if len(title_query) > 60:\n            title_query = title_query[:57] + \"…\"\n        new_name = f\"Follow-up: {title_query}\"\n\n        new_sess = session_manager.create_session(\n            session_id=new_sid,\n            name=new_name,\n            endpoint_url=ep_url,\n            model=ep_model,\n            rag=False,\n            owner=user,\n        )\n        if ep_headers:","sourceCodeStart":709,"sourceCodeEnd":745,"githubUrl":"https://github.com/odysseus-dev/odysseus/blob/f9235ebbf13f693a6fd29ce70b097f6ec83705bf/routes/research/research_routes.py#L709-L745","documentation":"Error \"No endpoint configured — add one in Settings first\" thrown in odysseus-dev/odysseus.","triggerScenarios":"Triggered when the corresponding server-side validation or runtime check at the recorded location rejects the request or operation and returns this error message to the caller.","commonSituations":"See trigger scenarios.","solutions":["Add a model endpoint in Settings, then retry.","Select one of the configured endpoints for this operation."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f9235ebbf13f693a6fd29ce70b097f6ec83705bf","analyzedAt":"2026-08-14T21:47:48.359Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}