Skip to content

Commit

Permalink
plugin file location changed
Browse files Browse the repository at this point in the history
  • Loading branch information
aliasaria committed Jan 5, 2024
1 parent 697c761 commit 946adb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/Experiment/Eval/Eval.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function Eval({
const response = await fetch(
chatAPI.Endpoints.Experiment.GetPlugin(
experimentInfo.id,
currentEvaluator
selectedPlugin
)
);
const text = await response.json();
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/lib/transformerlab-api-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,13 +488,13 @@ Endpoints.Experiment = {
API_URL() + 'experiment/' + id + '/file_contents?filename=' + filename,
SaveFile: (id: string, filename: string) =>
API_URL() + 'experiment/' + id + '/save_file_contents?filename=' + filename,
GetPlugin: (id: string, evalName: string) => {
GetPlugin: (id: string, plugin_name: string) => {
return (
API_URL() +
'experiment/' +
id +
'/get_evaluation_plugin_file_contents?eval_name=' +
evalName
'/get_evaluation_plugin_file_contents?plugin_name=' +
plugin_name
);
},
RunEvaluation: (id: string, pluginName: string, evalName: string) => {
Expand Down

0 comments on commit 946adb0

Please sign in to comment.