mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
fix: Fix URL path in POST request helper
This commit is contained in:
parent
8cd10c1d05
commit
76aa2782a8
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ class NeMoGuardrails:
|
||||||
headers = {
|
headers = {
|
||||||
"Accept": "application/json",
|
"Accept": "application/json",
|
||||||
}
|
}
|
||||||
response = requests.post(url=f"{self.guardrails_service_url}/{path}", headers=headers, json=data)
|
response = requests.post(url=f"{self.guardrails_service_url}{path}", headers=headers, json=data)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
return response.json()
|
return response.json()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue