chore(cloud-tier): upgrade default model gemini-2.0-flash → gemini-2.5-flash

gemini-2.0-flash is deprecated June 1 2026. gemini-2.5-flash has been
stable since Q1 2026 with similar pricing ($0.15/$0.60 per 1M tokens
vs $0.10/$0.40 — pricing table already had the entry).

Three files touched:
- packages/shared-llm/src/backends/cloud.ts — client default
- services/mana-llm/src/config.py — server default
- services/mana-llm/src/providers/google.py — Ollama→Gemini fallback
  map + constructor default + deduplicated model list

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-16 12:32:03 +02:00
parent 95e65bbdcb
commit 8a0bf93699
3 changed files with 12 additions and 13 deletions

View file

@ -27,7 +27,7 @@ export class CloudBackend implements LlmBackend {
private readonly defaultModel: string;
constructor(opts: CloudBackendOptions = {}) {
this.defaultModel = opts.defaultModel ?? 'google/gemini-2.0-flash';
this.defaultModel = opts.defaultModel ?? 'google/gemini-2.5-flash';
}
isAvailable(): boolean {