From 44f1a4fd5cc85058b4ae53c713e1e0d868ced03a Mon Sep 17 00:00:00 2001 From: Jeff Tang Date: Sun, 9 Feb 2025 09:24:15 -0800 Subject: [PATCH 1/2] fix of the agent image understanding example error for LS 0.1.2 --- docs/getting_started.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/getting_started.ipynb b/docs/getting_started.ipynb index abe537c8e..3f0002cfd 100644 --- a/docs/getting_started.ipynb +++ b/docs/getting_started.ipynb @@ -3580,6 +3580,7 @@ " model=LLAMA32_11B_INSTRUCT,\n", " instructions=\"You are a helpful assistant\",\n", " enable_session_persistence=False,\n", + " toolgroups=[]\n", " )\n", "\n", " agent = Agent(client, agent_config)\n", From 162cfb280ec010dfa7ddf84bdccf5e919a1e69a1 Mon Sep 17 00:00:00 2001 From: Jeff Tang Date: Sun, 9 Feb 2025 09:27:15 -0800 Subject: [PATCH 2/2] added note of the image understanding working with LS 0.1.0 and 0.1.2 --- docs/getting_started.ipynb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/getting_started.ipynb b/docs/getting_started.ipynb index 3f0002cfd..cf843c703 100644 --- a/docs/getting_started.ipynb +++ b/docs/getting_started.ipynb @@ -3414,7 +3414,9 @@ "source": [ "### 4.1 Setup and helpers\n", "\n", - "Below we install the Llama Stack client 0.1, download the example image, define two image helpers, and set Llama Stack Together server URL and Llama 3.2 model name.\n" + "Below we install the Llama Stack client 0.1.0, download the example image, define two image helpers, and set Llama Stack Together server URL and Llama 3.2 model name.\n", + "\n", + "Note the code below has been tested and works with Llama Stack 0.1.0 and 0.1.2.\n" ] }, { @@ -3424,7 +3426,8 @@ "metadata": {}, "outputs": [], "source": [ - "!pip install llama-stack-client==0.1.0" + "!pip install llama-stack-client==0.1.0\n", + "#!pip install llama-stack-client==0.1.2" ] }, {