small refactor of the structure

This commit is contained in:
2026-05-25 12:16:24 +02:00
parent 51e099acdd
commit b0f10b6bb1
26 changed files with 37 additions and 37 deletions
+9
View File
@@ -0,0 +1,9 @@
from openai import OpenAI
def create_client(api_key: str) -> OpenAI:
"""Factory for an OpenAI-compatible client pointed at DeepSeek."""
return OpenAI(
api_key=api_key,
base_url="https://api.deepseek.com",
)