sonilo-cli 0.8.0__tar.gz → 0.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sonilo-cli
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: Command-line interface for the Sonilo API: generate music and sound effects from text or video
5
5
  Project-URL: Repository, https://github.com/sonilo-ai/sonilo-python
6
6
  Author: Sonilo AI
@@ -197,3 +197,19 @@ Because the summary is on stderr, `sonilo account | jq .trial` still sees clean
197
197
  Once an endpoint's free runs are used up, calls to it bill at the normal rate — or, if the account
198
198
  has never been funded, fail with `HTTP 402: ... (trial_exhausted)` until a payment method is added.
199
199
  That is the one 402 a retry can never fix.
200
+
201
+ ## Rate limits
202
+
203
+ Two separate limits return `HTTP 429`, and they want opposite handling. The CLI prints the API's
204
+ own sentence, so the wording says which one you hit:
205
+
206
+ sonilo: HTTP 429: Rate limit exceeded: your account allows 60 requests per minute. Please retry after 1 minute. To raise your limit, please contact info@sonilo.com. (rate_limit_exceeded)
207
+ sonilo: HTTP 429: Too many concurrent generations: 5 of 5 in progress. Please wait for one to finish before starting another. To raise your limit, please contact info@sonilo.com. (rate_limit_exceeded)
208
+
209
+ The first means calls are going out too fast. The counter runs on a fixed 60-second window and
210
+ rejected calls count toward it too, so wait the window out instead of retrying inside it. The
211
+ second means every generation slot is busy — waiting alone frees nothing, a running generation has
212
+ to finish first.
213
+
214
+ `sonilo account` prints the account's own `rpm_limit` and `concurrency_limit`; the numbers above
215
+ are the standard-tier defaults. Email info@sonilo.com to raise either.
@@ -181,3 +181,19 @@ Because the summary is on stderr, `sonilo account | jq .trial` still sees clean
181
181
  Once an endpoint's free runs are used up, calls to it bill at the normal rate — or, if the account
182
182
  has never been funded, fail with `HTTP 402: ... (trial_exhausted)` until a payment method is added.
183
183
  That is the one 402 a retry can never fix.
184
+
185
+ ## Rate limits
186
+
187
+ Two separate limits return `HTTP 429`, and they want opposite handling. The CLI prints the API's
188
+ own sentence, so the wording says which one you hit:
189
+
190
+ sonilo: HTTP 429: Rate limit exceeded: your account allows 60 requests per minute. Please retry after 1 minute. To raise your limit, please contact info@sonilo.com. (rate_limit_exceeded)
191
+ sonilo: HTTP 429: Too many concurrent generations: 5 of 5 in progress. Please wait for one to finish before starting another. To raise your limit, please contact info@sonilo.com. (rate_limit_exceeded)
192
+
193
+ The first means calls are going out too fast. The counter runs on a fixed 60-second window and
194
+ rejected calls count toward it too, so wait the window out instead of retrying inside it. The
195
+ second means every generation slot is busy — waiting alone frees nothing, a running generation has
196
+ to finish first.
197
+
198
+ `sonilo account` prints the account's own `rpm_limit` and `concurrency_limit`; the numbers above
199
+ are the standard-tier defaults. Email info@sonilo.com to raise either.
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "sonilo-cli"
7
- version = "0.8.0"
7
+ version = "0.8.2"
8
8
  description = "Command-line interface for the Sonilo API: generate music and sound effects from text or video"
9
9
  readme = "README.md"
10
10
  license = "MIT"
File without changes
File without changes
File without changes
File without changes