Files
manual_slop/file_cache.py
2026-02-21 18:33:55 -05:00

30 lines
519 B
Python

# file_cache.py
"""
Stub — the Anthropic Files API path has been removed.
All context is now sent as inline chunked text via _send_anthropic_chunked.
This file is kept so that any stale imports do not break.
"""
from pathlib import Path
from typing import Optional
def reset_client():
pass
def content_block_type(path: Path) -> str:
return "unsupported"
def get_file_id(path: Path) -> Optional[str]:
return None
def evict(path: Path):
pass
def list_cached() -> list[dict]:
return []