chore(07): remove deprecated bash scripts and legacy env files

This commit is contained in:
2026-04-23 12:56:30 +03:00
parent 01e30ba7b5
commit d9dffdc389
14 changed files with 165 additions and 512 deletions

View File

@@ -2,9 +2,11 @@ import os
import anthropic
import json
import base64
from ..config_loader import get_config
def extract(image_bytes: bytes, prompt: str):
api_key = os.environ.get("CLAUDE_API_KEY")
config = get_config()
api_key = config.get("ai", {}).get("claude_api_key")
if not api_key:
return None