mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
Update importing_as_library.md
LlamaStackAsLibraryClient.initialize is not async, cannot be await'd
This commit is contained in:
parent
66d6c2580e
commit
b8a5089eed
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ client = LlamaStackAsLibraryClient(
|
|||
# provider_data is optional, but if you need to pass in any provider specific data, you can do so here.
|
||||
provider_data={"tavily_search_api_key": os.environ["TAVILY_SEARCH_API_KEY"]},
|
||||
)
|
||||
await client.initialize()
|
||||
client.initialize()
|
||||
```
|
||||
|
||||
This will parse your config and set up any inline implementations and remote clients needed for your implementation.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue