Commit a6907dd6 authored by Your Name's avatar Your Name

Remove all duplicate class definitions from coderai

Removed ~2050 lines of duplicate code:
- Pydantic models (ToolFunction, Tool, ChatMessage, etc.) - now from codai.pydantic
- ModelParserAdapter, ToolCallParser - now from codai.models
- NvidiaBackend, VulkanBackend - now from codai.backends
- All other duplicates removed

Now coderai properly imports all classes from codai modules.
parent df366b63
...@@ -13,6 +13,8 @@ from .parser import ( ...@@ -13,6 +13,8 @@ from .parser import (
PhiParser, PhiParser,
ApexBig50Parser, ApexBig50Parser,
OpenAIFormatter, OpenAIFormatter,
ToolCallParser,
ModelParserAdapter,
) )
from .templates import AgenticTemplateManager from .templates import AgenticTemplateManager
...@@ -31,5 +33,7 @@ __all__ = [ ...@@ -31,5 +33,7 @@ __all__ = [
'PhiParser', 'PhiParser',
'ApexBig50Parser', 'ApexBig50Parser',
'OpenAIFormatter', 'OpenAIFormatter',
'ToolCallParser',
'ModelParserAdapter',
'AgenticTemplateManager', 'AgenticTemplateManager',
] ]
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment