story-kit: create 345_story_gemini_agent_backend_via_google_ai_api

This commit is contained in:
Dave
2026-03-20 09:16:27 +00:00
parent 9622a1a572
commit 01d1c15d91

View File

@@ -13,7 +13,8 @@ As a project owner, I want to run agents using Gemini (2.5 Pro, etc.) via the Go
- [ ] Implement GeminiRuntime using the AgentRuntime trait from refactor 343 - [ ] Implement GeminiRuntime using the AgentRuntime trait from refactor 343
- [ ] Supports Gemini 2.5 Pro and other Gemini models via the Google AI generativeai API - [ ] Supports Gemini 2.5 Pro and other Gemini models via the Google AI generativeai API
- [ ] Manages a conversation loop: send prompt + tool definitions, execute tool calls, continue until done - [ ] Manages a conversation loop: send prompt + tool definitions, execute tool calls, continue until done
- [ ] Tool definitions map to the same tools agents currently use (file read/write, bash, grep, etc.) - [ ] Agents connect to storkit's MCP server for all tool operations — no custom file/bash tools needed
- [ ] MCP tool definitions are converted to Gemini function calling format
- [ ] Configurable in project.toml: runtime = 'gemini', model = 'gemini-2.5-pro' - [ ] Configurable in project.toml: runtime = 'gemini', model = 'gemini-2.5-pro'
- [ ] GOOGLE_AI_API_KEY passed via environment variable - [ ] GOOGLE_AI_API_KEY passed via environment variable
- [ ] Token usage tracked and logged to token_usage.jsonl - [ ] Token usage tracked and logged to token_usage.jsonl