Commit 0fe51dd
committed
fix: trim whitespace in asNonEmptyString and remove unnecessary export from adjustModelsForSubscription
- asNonEmptyString now trims the string before checking length, preventing
whitespace-only strings from passing through and later failing
TrimmedNonEmptyString schema validation on the client.
- adjustModelsForSubscription is only used within ClaudeProvider.ts, so
remove the export to keep the module's public API surface minimal.1 parent 82afe2a commit 0fe51dd
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
222 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
223 | 226 | | |
224 | 227 | | |
225 | 228 | | |
| |||
283 | 286 | | |
284 | 287 | | |
285 | 288 | | |
286 | | - | |
| 289 | + | |
287 | 290 | | |
288 | 291 | | |
289 | 292 | | |
| |||
0 commit comments