Skip to content

Commit

Permalink
Merge pull request #1105 from Agenta-AI/oss/bug/fixes
Browse files Browse the repository at this point in the history
Fix removing variants in cloud
  • Loading branch information
aakrem authored Dec 25, 2023
2 parents 6f03d0f + 00f0816 commit 4cebad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agenta-cli/agenta/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def remove_variant(variant_id: str, host: str, api_key: str = None):
None
"""
response = requests.delete(
f"{host}/{BACKEND_URL_SUFFIX}/variants/{variant_id}",
f"{host}/{BACKEND_URL_SUFFIX}/variants/{variant_id}/",
headers={
"Content-Type": "application/json",
"Authorization": api_key if api_key is not None else None,
Expand Down

0 comments on commit 4cebad4

Please sign in to comment.