GaiZhenbiao / ChuanhuChatGPT

GUI for ChatGPT API and many LLMs. Supports agents, file-based QA, GPT finetuning and query with web search. All with a neat UI.
https://huggingface.co/spaces/JohnSmith9982/ChuanhuChatGPT
GNU General Public License v3.0
15.07k stars 2.28k forks source link

fix: 修复循环引用导致无法使用知识库的问题 , fix #1133 #1135

Closed ThorinKong closed 2 months ago

ThorinKong commented 2 months ago

描述

修复utils.py循环引用BaseLLMModel导致无法使用知识库。 将from .models.base_model import BaseLLMModel移至if TYPE_CHECKING:

相关问题

1133

xinnie-the-pooh commented 1 month ago

KLXSB!!! 牛逼死了你