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.
- package/extensions/index.ts +1 -1
- package/package.json +1 -1
package/extensions/index.ts
CHANGED
|
@@ -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 *
|
|
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.
|