mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-30 21:59:46 +02:00
feat: Implement LLM configuration validation in create and update routes
- Added `validate_llm_config` function to `llm_service.py` for validating LLM configurations via test API calls. - Integrated validation in `create_llm_config` and `update_llm_config` routes in `llm_config_routes.py`, raising HTTP exceptions for invalid configurations. - Enhanced error handling to provide detailed feedback on configuration issues.
This commit is contained in:
parent
666dba7150
commit
9466bf595c
9 changed files with 235 additions and 52 deletions
|
|
@ -77,10 +77,10 @@ const defaultData = {
|
|||
title: "Upload Documents",
|
||||
url: "#",
|
||||
},
|
||||
{
|
||||
title: "Add Webpages",
|
||||
url: "#",
|
||||
},
|
||||
// {
|
||||
// title: "Add Webpages",
|
||||
// url: "#",
|
||||
// },
|
||||
{
|
||||
title: "Manage Documents",
|
||||
url: "#",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue