moved utility to common and updated data_url parsing logic

This commit is contained in:
Hardik Shah 2024-09-12 11:58:04 -07:00
parent 5f49dce839
commit 487e16dc3f
4 changed files with 60 additions and 30 deletions

View file

@ -17,6 +17,7 @@ from termcolor import cprint
from llama_toolchain.core.datatypes import RemoteProviderConfig
from .api import * # noqa: F403
from .common.file_utils import data_url_from_file
async def get_client_impl(config: RemoteProviderConfig, _deps: Any) -> Memory: