add file cache
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user