Enhance Copilot provider with cookie handling and user identity support; add Kimi provider; refactor usage tracking in run_tools.

This commit is contained in:
hlohaus 2025-10-02 18:11:11 +02:00
parent c5670047b6
commit edfc0e7c79
7 changed files with 188 additions and 76 deletions

View file

@ -55,7 +55,7 @@ class ConversationManager:
try:
with open(self.file_path, 'r', encoding='utf-8') as f:
data = json.load(f)
if self.model is None:
if self.provider is None and self.model is None:
self.model = data.get("model")
if self.provider is None:
self.provider = data.get("provider")