mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
fix: include error details in LLM model config failure response
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
ee43a5cdf5
commit
517764a7ac
1 file changed
+2
-2
@@ -242,7 +242,7 @@ async def create_user_llm_model_config(
|
||||
log.error(f"Failed to create LLM model config: {e}")
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
detail="Failed to create LLM model configuration"
|
||||
detail=f"Failed to create LLM model configuration: {e}"
|
||||
)
|
||||
|
||||
|
||||
@@ -564,7 +564,7 @@ async def create_group_llm_model_config(
|
||||
log.error(f"Failed to create LLM model config: {e}")
|
||||
raise HTTPException(
|
||||
status_code=status.HTTP_500_INTERNAL_SERVER_ERROR,
|
||||
detail="Failed to create LLM model configuration"
|
||||
detail=f"Failed to create LLM model configuration: {e}"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user