mirror of
https://github.com/affaan-m/ECC.git
synced 2026-08-30 19:59:40 +02:00
* fix: add .gitattributes to force LF line endings for text files npm run command-registry:check (part of npm test) fails on a fresh clone on Windows with the common core.autocrlf=true setting: git checks out docs/COMMAND-REGISTRY.json with CRLF, but generate-command-registry.js always writes LF, so the strict string comparison in checkRegistry() never matches. Forcing LF via .gitattributes makes checkouts consistent across platforms regardless of a contributor's local autocrlf setting. * fix: normalize CRLF line endings to LF per .gitattributes pyproject.toml, src/llm/__init__.py, src/llm/prompt/builder.py, src/llm/providers/claude.py, and tests/test_builder.py had CRLF line endings committed to the repo, inconsistent with the rest of the codebase. Renormalized via 'git add --renormalize .' now that .gitattributes enforces eol=lf. --------- Co-authored-by: Affaan Mustafa <me@affaanmustafa.com>
34 lines
678 B
Python
34 lines
678 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__ = (
|
|
"LLMInput",
|
|
"LLMOutput",
|
|
"LLMProvider",
|
|
"Message",
|
|
"ToolCall",
|
|
"ToolDefinition",
|
|
"ToolResult",
|
|
"ToolExecutor",
|
|
"ToolRegistry",
|
|
"get_provider",
|
|
"interactive_select",
|
|
)
|
|
|
|
|
|
def gui() -> None:
|
|
from llm.cli.selector import main
|
|
main()
|
|
|