mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
- Fix gui() function import in __init__.py (use cli.selector) - Fix prompt builder system message merging logic - Add default max_tokens for Anthropic API in claude.py - Fix openai tool_call arguments parsing with json.loads - Fix test_builder.py PromptConfig import and assertions
33 lines
711 B
Python
33 lines
711 B
Python
"""
|
|
LLM Abstraction Layer
|
|
|
|
Provider-agnostic interface for multiple LLM backends.
|
|
"""
|
|
|
|
from llm.core.interface import LLMProvider
|
|
from llm.core.types import LLMInput, LLMOutput, Message, ToolCall, ToolDefinition, ToolResult
|
|
from llm.providers import get_provider
|
|
from llm.tools import ToolExecutor, ToolRegistry
|
|
from llm.cli.selector import interactive_select
|
|
|
|
__version__ = "0.1.0"
|
|
|
|
__all__ = [
|
|
"LLMProvider",
|
|
"LLMInput",
|
|
"LLMOutput",
|
|
"Message",
|
|
"get_provider",
|
|
"ToolCall",
|
|
"ToolDefinition",
|
|
"ToolResult",
|
|
"ToolExecutor",
|
|
"ToolRegistry",
|
|
"interactive_select",
|
|
]
|
|
|
|
|
|
def gui() -> None:
|
|
from llm.cli.selector import main
|
|
main()
|
|
|