Commit b1e402b9 authored by Your Name's avatar Your Name

Fix openaiformatter import

parent fee96eb2
...@@ -29,8 +29,7 @@ from pydantic_core import PydanticCustomError ...@@ -29,8 +29,7 @@ from pydantic_core import PydanticCustomError
from threading import Thread from threading import Thread
# Import codai module for enhanced tool call parsing # Import codai module for enhanced tool call parsing
from codai.models import ModelParserDispatcher from codai.models import ModelParserDispatcher, OpenAIFormatter
from codai.models.parsers import OpenAIFormatter
# Per-model semaphores for request concurrency control # Per-model semaphores for request concurrency control
model_semaphores: dict = {} model_semaphores: dict = {}
load_mode = {"mode": "ondemand"} # Track load mode globally load_mode = {"mode": "ondemand"} # Track load mode globally
......
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