This commit is contained in:
Lorenze Jay
2024-11-19 09:41:33 -08:00
parent b104404418
commit 70910dd7b4
2 changed files with 98 additions and 40 deletions

View File

@@ -27,8 +27,10 @@ class Knowledge(BaseModel):
for source in self.sources:
source.add()
except Exception as e:
Logger.log(
"warning", f"Failed to add some sources during initialization: {e}"
Logger(verbose=True).log(
"warning",
f"Failed to init knowledge: {e}",
color="red",
)
def query(