mindroom 0.1.2__py3-none-any.whl → 0.1.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mindroom/config.py +1 -1
- mindroom/memory/config.py +3 -0
- {mindroom-0.1.2.dist-info → mindroom-0.1.4.dist-info}/METADATA +1 -1
- {mindroom-0.1.2.dist-info → mindroom-0.1.4.dist-info}/RECORD +6 -6
- {mindroom-0.1.2.dist-info → mindroom-0.1.4.dist-info}/WHEEL +0 -0
- {mindroom-0.1.2.dist-info → mindroom-0.1.4.dist-info}/entry_points.txt +0 -0
mindroom/config.py
CHANGED
|
@@ -46,7 +46,7 @@ class EmbedderConfig(BaseModel):
|
|
|
46
46
|
|
|
47
47
|
model: str = Field(default="text-embedding-3-small", description="Model name for embeddings")
|
|
48
48
|
api_key: str | None = Field(default=None, description="API key (usually from environment variable)")
|
|
49
|
-
host: str | None = Field(default=None, description="Host URL for self-hosted models
|
|
49
|
+
host: str | None = Field(default=None, description="Host URL for self-hosted models (Ollama, llama.cpp, etc.)")
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
class MemoryEmbedderConfig(BaseModel):
|
mindroom/memory/config.py
CHANGED
|
@@ -45,6 +45,9 @@ def get_memory_config(storage_path: Path, config: Config) -> dict: # noqa: C901
|
|
|
45
45
|
api_key = creds_manager.get_api_key("openai")
|
|
46
46
|
if api_key:
|
|
47
47
|
os.environ["OPENAI_API_KEY"] = api_key
|
|
48
|
+
# Support custom OpenAI-compatible base URL (e.g., llama.cpp)
|
|
49
|
+
if app_config.memory.embedder.config.host:
|
|
50
|
+
embedder_config["config"]["openai_base_url"] = app_config.memory.embedder.config.host
|
|
48
51
|
elif app_config.memory.embedder.provider == "ollama":
|
|
49
52
|
# Check CredentialsManager for Ollama host
|
|
50
53
|
ollama_creds = creds_manager.load_credentials("ollama")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mindroom
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.4
|
|
4
4
|
Summary: A universal interface for AI agents with persistent memory, where every conversation has a home
|
|
5
5
|
Project-URL: documentation, https://github.com/mindroom-ai/mindroom
|
|
6
6
|
Project-URL: homepage, https://github.com/mindroom-ai/mindroom
|
|
@@ -6,7 +6,7 @@ mindroom/background_tasks.py,sha256=Yg47noGS2s0BEsD3dUTEhi9j8_Pv2LXTeUcykOyvJvU,
|
|
|
6
6
|
mindroom/bot.py,sha256=yVivCDQmZDUt4_E_4mp8sIBiETfV2KRb9eVZYh9illA,101154
|
|
7
7
|
mindroom/cli.py,sha256=38mTfxM3t3LMN21ZPXeC0d3OoPDCGyAO4XY56j1JJow,2387
|
|
8
8
|
mindroom/commands.py,sha256=2D_puancvmVxS5S1j7KcEb24JrML6EWzWXk3xmvmMls,12738
|
|
9
|
-
mindroom/config.py,sha256=
|
|
9
|
+
mindroom/config.py,sha256=5cIfHoHH_NjwkLNpoiXvwhdMXeDEzWMyPASr4eG4HTE,13776
|
|
10
10
|
mindroom/config_commands.py,sha256=EIBsGOQW-W5hU1cpHLDkuOYSxUwKJ78vtDOuCVzT9EA,10606
|
|
11
11
|
mindroom/config_confirmation.py,sha256=qTdZaK3UbJ0izoEcARlDNAQCKOK-X0oikvv1KY8DIPk,12385
|
|
12
12
|
mindroom/constants.py,sha256=cDJ6J1wUOknB-L1Y6m2s6I1kSFvmADGqUMUd1yL4AZw,2124
|
|
@@ -58,7 +58,7 @@ mindroom/matrix/state.py,sha256=Brprm6_X1rLCtfYA4IzP6_PnaHK1R8T5mM7HrmLarRI,2454
|
|
|
58
58
|
mindroom/matrix/typing.py,sha256=CHsc4QXHMlzbJ4WzyFdWWO7tU0tws6xf7P7oVRTDK-Q,2649
|
|
59
59
|
mindroom/matrix/users.py,sha256=9KeROUPtiQOIrdtL-m1mfZv-KnSI3TwICdV-U08vs50,7236
|
|
60
60
|
mindroom/memory/__init__.py,sha256=yL1zK6qkucX3tJWryL2wlyeAOnpntfLky_wFi9XDfVQ,498
|
|
61
|
-
mindroom/memory/config.py,sha256=
|
|
61
|
+
mindroom/memory/config.py,sha256=11LcXzS3qvvjDbtLDFVe_WVMUw5YIQTGc7fJNveceFc,5117
|
|
62
62
|
mindroom/memory/functions.py,sha256=Rpv1YBK_5rFhb9Gjr2cssYcMkVsW6ufbPGQiOWyyD-Y,12527
|
|
63
63
|
mindroom/tools/__init__.py,sha256=-X5cHX9aa6ACiUAUF1i9XYWN797MDUHQdP8SyvsYvQM,15249
|
|
64
64
|
mindroom/tools/agentql.py,sha256=nfJ9iYEB4UW4dEu6BEM9Rl4PZRjgv1n5T4767wpT-n8,1920
|
|
@@ -146,7 +146,7 @@ mindroom/tools/youtube.py,sha256=CJbi8IgN635CUw9sj82siZrkh5ey-HVJ6LdHmE93mqY,258
|
|
|
146
146
|
mindroom/tools/zendesk.py,sha256=B63Xgl5JpAoxT739nMyiVnJG6QqmfQKVDD8owtB2xRs,2160
|
|
147
147
|
mindroom/tools/zep.py,sha256=RxYVcaiyem_cj8x3T0G4F5SGQis9dsVtb4dPYSwXSsE,3525
|
|
148
148
|
mindroom/tools/zoom.py,sha256=agaKCRKqZIkZ2sONImVYrmdTiMzo27a5stZ5JJZSTTM,1907
|
|
149
|
-
mindroom-0.1.
|
|
150
|
-
mindroom-0.1.
|
|
151
|
-
mindroom-0.1.
|
|
152
|
-
mindroom-0.1.
|
|
149
|
+
mindroom-0.1.4.dist-info/METADATA,sha256=gGDm-I7u1jcXPf0EBy_d4nb5_MbKnoaYtjJF5WiU1lc,14105
|
|
150
|
+
mindroom-0.1.4.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
151
|
+
mindroom-0.1.4.dist-info/entry_points.txt,sha256=Ju47f4SJD7zgG7pE954J3N6m1jbs_HF8LTrunLasGLs,47
|
|
152
|
+
mindroom-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|