Odysseus v1.0
This commit is contained in:
53
core/__init__.py
Normal file
53
core/__init__.py
Normal file
@@ -0,0 +1,53 @@
|
||||
# core/__init__.py
|
||||
"""
|
||||
Chat Core — the essential chat experience.
|
||||
|
||||
This package contains only what's needed for:
|
||||
- Streaming LLM responses
|
||||
- Session management
|
||||
- Model routing
|
||||
- Authentication
|
||||
"""
|
||||
|
||||
from src.llm_core import (
|
||||
llm_call,
|
||||
llm_call_async,
|
||||
stream_llm,
|
||||
list_model_ids,
|
||||
normalize_model_id,
|
||||
LLMConfig,
|
||||
)
|
||||
from .auth import AuthManager
|
||||
from .constants import *
|
||||
from .middleware import SecurityHeadersMiddleware
|
||||
from .exceptions import (
|
||||
SessionNotFoundError,
|
||||
InvalidFileUploadError,
|
||||
LLMServiceError,
|
||||
WebSearchError,
|
||||
)
|
||||
from .models import Session, ChatMessage
|
||||
from .session_manager import SessionManager
|
||||
|
||||
__all__ = [
|
||||
# LLM
|
||||
"llm_call",
|
||||
"llm_call_async",
|
||||
"stream_llm",
|
||||
"list_model_ids",
|
||||
"normalize_model_id",
|
||||
"LLMConfig",
|
||||
# Auth
|
||||
"AuthManager",
|
||||
# Middleware
|
||||
"SecurityHeadersMiddleware",
|
||||
# Exceptions
|
||||
"SessionNotFoundError",
|
||||
"InvalidFileUploadError",
|
||||
"LLMServiceError",
|
||||
"WebSearchError",
|
||||
# Models
|
||||
"Session",
|
||||
"ChatMessage",
|
||||
"SessionManager",
|
||||
]
|
||||
Reference in New Issue
Block a user