Skip to content
Snippets Groups Projects
Commit 946adb0a authored by ali asaria's avatar ali asaria
Browse files

plugin file location changed

parent 697c7617
Branches
Tags
No related merge requests found
...@@ -121,7 +121,7 @@ export default function Eval({ ...@@ -121,7 +121,7 @@ export default function Eval({
const response = await fetch( const response = await fetch(
chatAPI.Endpoints.Experiment.GetPlugin( chatAPI.Endpoints.Experiment.GetPlugin(
experimentInfo.id, experimentInfo.id,
currentEvaluator selectedPlugin
) )
); );
const text = await response.json(); const text = await response.json();
......
...@@ -488,13 +488,13 @@ Endpoints.Experiment = { ...@@ -488,13 +488,13 @@ Endpoints.Experiment = {
API_URL() + 'experiment/' + id + '/file_contents?filename=' + filename, API_URL() + 'experiment/' + id + '/file_contents?filename=' + filename,
SaveFile: (id: string, filename: string) => SaveFile: (id: string, filename: string) =>
API_URL() + 'experiment/' + id + '/save_file_contents?filename=' + filename, API_URL() + 'experiment/' + id + '/save_file_contents?filename=' + filename,
GetPlugin: (id: string, evalName: string) => { GetPlugin: (id: string, plugin_name: string) => {
return ( return (
API_URL() + API_URL() +
'experiment/' + 'experiment/' +
id + id +
'/get_evaluation_plugin_file_contents?eval_name=' + '/get_evaluation_plugin_file_contents?plugin_name=' +
evalName plugin_name
); );
}, },
RunEvaluation: (id: string, pluginName: string, evalName: string) => { RunEvaluation: (id: string, pluginName: string, evalName: string) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment