kikocis/llama-stack public
Changesets · Branches · Tags · Compare
| Changeset | 5498ce93bcd1c130d00d7a8ff0d9c29385d4840951bbfb62e2813b7e0880bef1 |
|---|---|
| Author | Ashwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-18 21:54 -07:00 |
| Committer | Ashwin Bharambe <ashwin.bharambe@gmail.com> · 2024-09-18 21:54 -07:00 |
| Parents | 566afbf5da2b |
2 files changed
modified llama_stack/apis/memory/client.py +3 −3
| @@ -13,12 +13,12 @@ | ||
| 13 | 13 | |
| 14 | 14 | import fire |
| 15 | 15 | import httpx |
| 16 | +from termcolor import cprint | |
| 16 | 17 | |
| 17 | 18 | from llama_stack.distribution.datatypes import RemoteProviderConfig |
| 18 | -from termcolor import cprint | |
| 19 | 19 | |
| 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 | |
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | async def get_client_impl(config: RemoteProviderConfig, _deps: Any) -> Memory: |
modified llama_stack/cli/stack/build.py +1 −1
| @@ -212,7 +212,7 @@ | ||
| 212 | 212 | providers_for_api = all_providers[api] |
| 213 | 213 | |
| 214 | 214 | 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( | |
| 216 | 216 | api.value |
| 217 | 217 | ), |
| 218 | 218 | validator=Validator.from_callable( |