yusyus
5ae57d192a
fix: update Gemini model to 2.5-flash and add API auto-detection in enhance
...
Fix 1 — gemini.py: replace deprecated gemini-2.0-flash-exp (404 errors)
with gemini-2.5-flash (stable, GA, Google's recommended replacement).
Closes #290 .
Fix 2 — enhance dispatcher: implement the documented auto-detection that
was missing from the code. skill-seekers enhance now correctly routes:
- ANTHROPIC_API_KEY set → Claude API mode (enhance_skill.py)
- GOOGLE_API_KEY set → Gemini API mode
- OPENAI_API_KEY set → OpenAI API mode
- No API keys → LOCAL mode (Claude Code Max, free)
Use --mode LOCAL to force local mode even when an API key is present.
9 new tests cover _detect_api_target() priority logic and main()
routing (API delegation, --mode LOCAL override, no-key fallback).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-02-24 06:52:55 +03:00
..
2025-10-29 23:19:32 +03:00
2026-02-22 20:43:17 +03:00
2025-10-19 02:08:58 +03:00
2026-01-17 23:02:11 +03:00
2026-02-07 22:55:02 +03:00
2025-10-19 17:01:37 +03:00
2026-02-18 23:49:48 +03:00
2026-02-22 22:32:31 +03:00
2026-01-31 21:30:00 +03:00
2026-01-17 17:48:15 +00:00
2026-01-18 00:01:30 +03:00
2026-02-08 13:34:48 +03:00
2026-02-08 14:49:45 +03:00
2026-01-17 23:02:11 +03:00
2026-01-29 22:56:33 +03:00
2026-01-17 23:25:12 +03:00
2026-02-08 14:42:27 +03:00
2026-02-18 21:22:16 +03:00
2026-02-23 06:37:39 +00:00
2026-02-22 20:43:17 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:29:21 +00:00
2026-02-05 21:27:41 +03:00
2026-02-22 20:43:17 +03:00
2026-01-31 21:30:00 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-02-21 23:51:04 +03:00
2026-02-22 20:43:17 +03:00
2026-01-17 22:54:40 +03:00
2026-01-17 23:02:11 +03:00
2026-02-08 14:49:45 +03:00
2026-02-08 14:49:45 +03:00
2026-02-22 22:32:31 +03:00
2026-02-24 06:52:55 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-01-18 00:01:30 +03:00
2026-01-18 00:01:30 +03:00
2026-01-31 21:30:00 +03:00
2026-02-08 14:42:27 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 17:48:15 +00:00
2026-02-22 22:32:31 +03:00
2026-02-22 20:43:17 +03:00
2026-02-22 20:43:17 +03:00
2026-02-22 20:43:17 +03:00
2026-02-15 20:24:32 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 23:02:11 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 17:29:21 +00:00
2026-02-17 22:05:27 +03:00
2026-02-22 20:43:17 +03:00
2026-02-22 20:43:17 +03:00
2026-02-08 14:44:46 +03:00
2026-02-07 20:59:03 +03:00
2026-02-22 22:32:31 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-02-23 06:37:39 +00:00
2026-01-17 17:48:15 +00:00
2026-02-15 20:24:32 +03:00
2026-02-08 13:33:15 +03:00
2026-01-17 22:54:40 +03:00
2026-02-04 21:00:49 +03:00
2026-02-22 22:32:31 +03:00
2026-01-17 17:29:21 +00:00
2026-02-22 21:52:04 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-02-22 20:43:17 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-01-18 13:48:37 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 23:02:11 +03:00
2026-02-15 20:24:32 +03:00
2026-01-17 23:02:11 +03:00
2026-02-08 14:42:27 +03:00
2026-02-22 22:32:31 +03:00
2026-02-22 20:43:17 +03:00
2026-02-02 23:08:25 +03:00
2026-02-22 20:43:17 +03:00
2026-01-17 22:54:40 +03:00
2026-02-18 22:50:05 +03:00
2026-02-22 22:32:31 +03:00
2026-02-22 22:32:31 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:29:21 +00:00
2026-02-18 22:50:05 +03:00
2026-02-18 22:50:05 +03:00
2026-02-18 22:50:05 +03:00