mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 09:21:45 +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 = {
|
||||
"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()
|
||||
return response.json()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue