Skip to content

Commit 400c57d

Browse files
committed
update the error msg
1 parent a5236cd commit 400c57d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async def provider_authentication_exception_handler(request: Request, exc: Provi
9494
async def invalid_provider_exception_handler(request: Request, exc: InvalidProviderException):
9595
return HTTPException(
9696
status_code=400,
97-
detail=f"{str(exc)}. Please call the /models endpoint to check the valid providers/models id."
97+
detail=f"{str(exc)}. Please verify your provider and model details by calling the /models endpoint or visiting https://tensorblock.co/api-docs/model-ids, and ensure you’re using a valid provider name, model name, and model ID."
9898
)
9999

100100
# Add exception handler for BaseInvalidProviderSetupException

0 commit comments

Comments
 (0)