d31c989423
- semantic-cache.ts: use upsert instead of add to avoid duplicate-ID errors - semantic-cache.ts: add crypto.randomUUID() fallback for constrained runtimes - ollama-client.ts: JSON.stringify non-string Ollama errors to avoid [object Object] - tests: update semantic-cache mocks and assertions for upsert