Skip to content

Commit

Permalink
Merge pull request #1254 from Agenta-AI/Fix/-avoid-passing-redundant-…
Browse files Browse the repository at this point in the history
…values-to-evaluation-payload

Fix: avoid passing redundant values to evaluation payload
  • Loading branch information
mmabrouk authored Jan 28, 2024
2 parents 03a4526 + 6397e30 commit 8e7e80c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ const NewEvaluationModal: React.FC<Props> = ({onSuccess, ...props}) => {
return
setSubmitLoading(true)
createEvalutaiton(appId, {
...values,
testset_id: values.testset_id,
variant_ids: values.variant_ids,
evaluators_configs: values.evaluators_configs,
rate_limit: rateLimitValues,
lm_providers_keys: {openai: getApikeys()},
})
Expand Down

0 comments on commit 8e7e80c

Please sign in to comment.