Update You.py

This commit is contained in:
H Lohaus 2024-04-07 12:26:24 +02:00 committed by GitHub
parent a5f7eeb63a
commit 604daf0377
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class You(AsyncGeneratorProvider, ProviderModelMixin):
**kwargs,
) -> AsyncResult:
if not has_curl_cffi:
raise MissingRequirementsError('Install "curl_cffi" package')
raise MissingRequirementsError('Install or update "curl_cffi" package | pip install -U curl_cffi')
if image is not None:
chat_mode = "agent"
elif not model or model == cls.default_model: