Skip to content

Commit

Permalink
update exception msg
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshyv committed Nov 19, 2024
1 parent 76f9670 commit 74297d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/llama_stack_client/lib/direct/direct.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

class LlamaStackDirectClient(LlamaStackClient):
def __init__(self, config: StackRunConfig, **kwargs):
raise TypeError("Use from_yaml() or from_template() instead of direct initialization")
raise TypeError("Use from_config() or from_template() instead of direct initialization")

@classmethod
async def from_config(cls, config: StackRunConfig, **kwargs):
Expand Down

0 comments on commit 74297d5

Please sign in to comment.