mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-24 21:41:04 +02:00
chore: clarify the cloud-only method error — state the cause and the fix
This commit is contained in:
parent
80bdfc152d
commit
6567e7a198
1 changed files with 2 additions and 2 deletions
|
|
@ -146,8 +146,8 @@ class PageIndexClient:
|
|||
"(client.collection(...)) for local mode."
|
||||
)
|
||||
raise PageIndexAPIError(
|
||||
"This method is part of the pageindex 0.2.x cloud SDK API. "
|
||||
"Initialize with api_key to use it."
|
||||
"This method calls the PageIndex cloud API — create the client "
|
||||
"with an api_key (get one at https://dash.pageindex.ai)."
|
||||
)
|
||||
return self._legacy_cloud_api
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue