mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00
Merge branch 'main' of github.com:cpacker/MemGPT into poetry-package
This commit is contained in:
commit
35d2cff061
@ -6,8 +6,8 @@
|
||||
|
||||
<strong>Try out our MemGPT chatbot on <a href="https://discord.gg/9GEQrxmVyE">Discord</a>!</strong>
|
||||
|
||||
<strong>⭐ NEW: You can now run MemGPT with <a href="https://github.com/cpacker/MemGPT/discussions/67">local LLMs</a>! ⭐ </strong>
|
||||
|
||||
<strong>⭐ NEW: You can now run MemGPT with <a href="https://github.com/cpacker/MemGPT/discussions/67">local LLMs</a> and <a href="https://github.com/cpacker/MemGPT/discussions/65">AutoGen</a>! ⭐ </strong>
|
||||
|
||||
[](https://discord.gg/9GEQrxmVyE)
|
||||
[](https://arxiv.org/abs/2310.08560)
|
||||
|
||||
|
@ -41,6 +41,7 @@ class Config:
|
||||
self.agent_save_file = None
|
||||
self.persistence_manager_save_file = None
|
||||
self.host = os.getenv("OPENAI_API_BASE")
|
||||
self.index = None
|
||||
|
||||
@classmethod
|
||||
async def legacy_flags_init(
|
||||
@ -63,10 +64,7 @@ class Config:
|
||||
self.compute_embeddings = compute_embeddings
|
||||
recompute_embeddings = self.compute_embeddings
|
||||
if self.archival_storage_index:
|
||||
recompute_embeddings = questionary.confirm(
|
||||
f"Would you like to recompute embeddings? Do this if your files have changed.\nFiles:{self.archival_storage_files}",
|
||||
default=False,
|
||||
)
|
||||
recompute_embeddings = False # TODO Legacy support -- can't recompute embeddings on a path that's not specified.
|
||||
if self.archival_storage_files:
|
||||
await self.configure_archival_storage(recompute_embeddings)
|
||||
return self
|
||||
|
Loading…
Reference in New Issue
Block a user