Skip to content

Commit

Permalink
Merge pull request #97 from athina-ai/hotfix/remove-urlencoding-as-re…
Browse files Browse the repository at this point in the history
…quests-library-already-does-it

Remove urlencode for params as request library already does it
  • Loading branch information
akshat-g authored Aug 5, 2024
2 parents 5875a60 + 08b3e50 commit fdae518
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion athina/steps/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ def execute(self, input_data: Any) -> Union[Dict[str, Any], None]:
if self.params is not None:
for key, value in self.params.items():
self.params[key] = self.env.from_string(value).render(**prepared_input_data)
self.params[key] = urllib.parse.quote(self.params[key], safe='')

retries = 3 # number of retries
timeout = 5 # seconds
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "athina"
version = "1.5.6"
version = "1.5.7"
description = "Python SDK to configure and run evaluations for your LLM-based application"
authors = ["Shiv Sakhuja <[email protected]>", "Akshat Gupta <[email protected]>", "Vivek Aditya <[email protected]>", "Akhil Bisht <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit fdae518

Please sign in to comment.