add file cache

This commit is contained in:
2026-02-21 16:31:33 -05:00
parent 9272fd42d6
commit d0d8f3e145
6 changed files with 1495 additions and 56 deletions

View File

@@ -3,6 +3,7 @@ import tomllib
import json
import datetime
from pathlib import Path
import file_cache
_provider: str = "gemini"
_model: str = "gemini-2.0-flash"
@@ -546,3 +547,4 @@ def send(md_content: str, user_message: str, base_dir: str = ".") -> str:
elif _provider == "anthropic":
return _send_anthropic(md_content, user_message, base_dir)
raise ValueError(f"unknown provider: {_provider}")