Commit Graph

3 Commits

Author SHA1 Message Date
Cursor Agent 3b9a4fcd76
Add root .env template for GEMINI_API_KEY
Provide .env.example, ignore local .env, and teach generate_draft.py to
load the repo-root .env so PoC #1 can use Gemini without exporting keys
in the shell every time.

Co-authored-by: okuma <o0kuma@users.noreply.github.com>
2026-07-29 08:37:29 +00:00
Claude 6d9738e153
Switch generate_draft.py from Anthropic to Gemini
Uses google-genai + GEMINI_API_KEY instead of the Anthropic SDK, per
product decision to run the server-fallback LLM on Gemini. Same
prompt contract and escalation behavior; only the client/env var
name changed. README documents where to actually set the key.
2026-07-29 08:34:46 +00:00
Claude 8a4b5ba782
Add response-draft generator prototype for PoC #1
generate_draft.py takes a few style-exemplar messages plus recent
conversation context and drafts a reply via LLM call (the server
fallback path from tech-design.md §2), with escalation baked into
the system prompt for money/appointment/emotional content. Verified
prompt construction against a real corpus dialogue and hand-compared
a generated draft to the withheld real reply (README "샘플 검증") --
no API key in this session, so the live call itself is untested.
2026-07-29 08:27:39 +00:00