pi-rozalia 0.2.0 → 0.2.1

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.
@@ -205,7 +205,7 @@ function logDiscoveryError(baseUrl: string, error: unknown): void {
205
205
 
206
206
  let cachedModels: ProviderModelConfig[] = [];
207
207
  let lastFetchedAt = 0;
208
- const MODEL_CACHE_TTL_MS = 5 * 60 * 1000; // 5 minutes
208
+ const MODEL_CACHE_TTL_MS = 5 * 1000; // 5 seconds — debounce only; /v1/models is cheap on a self-hosted server and the coordinator already dedupes concurrent calls
209
209
 
210
210
  /**
211
211
  * Resolve baseUrl and apiKey from Pi's credential context.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-rozalia",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "OpenAI-compatible provider extension for the Pi coding agent — connects to Rozalia AI",
5
5
  "keywords": [
6
6
  "pi-package",