Elffuss BraidHub

kikocis/llama-stack public

Bug fixes for memory
Changeset5498ce93bcd1c130d00d7a8ff0d9c29385d4840951bbfb62e2813b7e0880bef1
AuthorAshwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-18 21:54 -07:00
CommitterAshwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-18 21:54 -07:00
Parents566afbf5da2b

Browse the files at this changeset

2 files changed

modified llama_stack/apis/memory/client.py +3 −3
@@ -13,12 +13,12 @@
1313
1414 import fire
1515 import httpx
16+from termcolor import cprint
1617
1718 from llama_stack.distribution.datatypes import RemoteProviderConfig
18-from termcolor import cprint
1919
20-from .memory import * # noqa: F403
21-from .common.file_utils import data_url_from_file
20+from llama_stack.apis.memory import * # noqa: F403
21+from llama_stack.providers.utils.memory.file_utils import data_url_from_file
2222
2323
2424 async def get_client_impl(config: RemoteProviderConfig, _deps: Any) -> Memory:
modified llama_stack/cli/stack/build.py +1 −1
@@ -212,7 +212,7 @@
212212 providers_for_api = all_providers[api]
213213
214214 api_provider = prompt(
215- "> Enter the API provider for the {} API: (default=meta-reference): ".format(
215+ "> Enter provider for the {} API: (default=meta-reference): ".format(
216216 api.value
217217 ),
218218 validator=Validator.from_callable(