mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-21 12:09:40 +00:00
fix: Use NAMESPACE global variable
This commit is contained in:
parent
84e85e824a
commit
1a76c55df4
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@
|
||||||
"res = requests.post(\n",
|
"res = requests.post(\n",
|
||||||
" url=f\"{NIM_URL}/v1/completions\",\n",
|
" url=f\"{NIM_URL}/v1/completions\",\n",
|
||||||
" json={\n",
|
" json={\n",
|
||||||
" \"model\": f\"{namespace}/{CUSTOMIZED_MODEL_DIR}\",\n",
|
" \"model\": f\"{NAMESPACE}/{CUSTOMIZED_MODEL_DIR}\",\n",
|
||||||
" \"prompt\": sample_prompt,\n",
|
" \"prompt\": sample_prompt,\n",
|
||||||
" \"max_tokens\": 20,\n",
|
" \"max_tokens\": 20,\n",
|
||||||
" \"temperature\": 0.7,\n",
|
" \"temperature\": 0.7,\n",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue