mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
Bug fixes for memory
This commit is contained in:
parent
8cdc2f0cfb
commit
9ab27e852b
2 changed files with 5 additions and 5 deletions
|
@ -13,12 +13,12 @@ from typing import Any, Dict, List, Optional
|
||||||
|
|
||||||
import fire
|
import fire
|
||||||
import httpx
|
import httpx
|
||||||
|
|
||||||
from llama_stack.distribution.datatypes import RemoteProviderConfig
|
|
||||||
from termcolor import cprint
|
from termcolor import cprint
|
||||||
|
|
||||||
from .memory import * # noqa: F403
|
from llama_stack.distribution.datatypes import RemoteProviderConfig
|
||||||
from .common.file_utils import data_url_from_file
|
|
||||||
|
from llama_stack.apis.memory import * # noqa: F403
|
||||||
|
from llama_stack.providers.utils.memory.file_utils import data_url_from_file
|
||||||
|
|
||||||
|
|
||||||
async def get_client_impl(config: RemoteProviderConfig, _deps: Any) -> Memory:
|
async def get_client_impl(config: RemoteProviderConfig, _deps: Any) -> Memory:
|
||||||
|
|
|
@ -212,7 +212,7 @@ class StackBuild(Subcommand):
|
||||||
providers_for_api = all_providers[api]
|
providers_for_api = all_providers[api]
|
||||||
|
|
||||||
api_provider = prompt(
|
api_provider = prompt(
|
||||||
"> Enter the API provider for the {} API: (default=meta-reference): ".format(
|
"> Enter provider for the {} API: (default=meta-reference): ".format(
|
||||||
api.value
|
api.value
|
||||||
),
|
),
|
||||||
validator=Validator.from_callable(
|
validator=Validator.from_callable(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue