Skip to content

Commit

Permalink
Merge pull request #1787 from Agenta-AI/mmabrouk/fix/hotfix-failing-e…
Browse files Browse the repository at this point in the history
…vals-in-cloud

fix(backend): candidate hotfix for failing evals
  • Loading branch information
mmabrouk authored Jun 13, 2024
2 parents f37efb4 + 84e5871 commit 236a043
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion agenta-backend/agenta_backend/services/llm_apps_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ async def make_payload(
elif param["type"] == "file_url":
payload[param["name"]] = datapoint.get(param["name"], "")
else:
payload[param["name"]] = parameters[param["name"]]
if param["name"] in parameters: # hotfix
payload[param["name"]] = parameters[param["name"]]

if inputs_dict:
payload["inputs"] = inputs_dict
Expand Down

0 comments on commit 236a043

Please sign in to comment.