Compare commits

...
Sign in to create a new pull request.

2 commits

View file

@ -3414,7 +3414,9 @@
"source": [ "source": [
"### 4.1 Setup and helpers\n", "### 4.1 Setup and helpers\n",
"\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": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "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"
] ]
}, },
{ {
@ -3580,6 +3583,7 @@
" model=LLAMA32_11B_INSTRUCT,\n", " model=LLAMA32_11B_INSTRUCT,\n",
" instructions=\"You are a helpful assistant\",\n", " instructions=\"You are a helpful assistant\",\n",
" enable_session_persistence=False,\n", " enable_session_persistence=False,\n",
" toolgroups=[]\n",
" )\n", " )\n",
"\n", "\n",
" agent = Agent(client, agent_config)\n", " agent = Agent(client, agent_config)\n",