mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-12-15 14:51:19 -08:00
Enhance Copilot provider with cookie handling and user identity support; add Kimi provider; refactor usage tracking in run_tools.
This commit is contained in:
parent
c5670047b6
commit
edfc0e7c79
7 changed files with 188 additions and 76 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue