Commit a5b64c4c authored by Your Name's avatar Your Name

Fix missing os import and duplicate attributes in models/manager.py

parent 7788ce85
"""Model manager module - contains ModelManager, WhisperServerManager, and MultiModelManager classes.""" """Model manager module - contains ModelManager, WhisperServerManager, and MultiModelManager classes."""
from typing import Optional, Dict, Any, List from typing import Optional, Dict, Any, List
import os
import subprocess import subprocess
import signal import signal
import requests import requests
...@@ -382,9 +383,6 @@ class MultiModelManager: ...@@ -382,9 +383,6 @@ class MultiModelManager:
self.config: Dict[str, Dict] = {} # Store model configurations self.config: Dict[str, Dict] = {} # Store model configurations
self.tool_parser = ModelParserAdapter() self.tool_parser = ModelParserAdapter()
self.current_model_key: Optional[str] = None self.current_model_key: Optional[str] = None
self.config: Dict[str, Dict] = {} # Store model configurations
self.tool_parser = ModelParserAdapter()
self.current_model_key: Optional[str] = None
self.load_mode: str = "ondemand" self.load_mode: str = "ondemand"
self.active_in_vram: Optional[str] = None self.active_in_vram: Optional[str] = None
self.model_aliases: Dict[str, str] = {} self.model_aliases: Dict[str, str] = {}
......
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