Skip to content

Commit

Permalink
flxes
Browse files Browse the repository at this point in the history
  • Loading branch information
aliasaria committed Jan 1, 2024
1 parent 26eb6b1 commit 017564d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/Experiment/Interact/Interact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ export default function Chat({ experimentInfo, experimentInfoMutate }) {
undefined,
undefined,
undefined,
isVLLMInferenceEngine !== null
false
);
setIsThinking(false);

Expand Down
3 changes: 1 addition & 2 deletions src/renderer/components/Nav/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ export default function Sidebar({
return (
models?.[0]?.id !==
experimentInfo?.config?.foundation?.split('/').slice(-1)[0] &&
models?.[0]?.id !==
`models/peft/${experimentInfo?.config.adaptor}`?.split('/').slice(-1)[0]
models?.[0]?.id !== experimentInfo?.config.adaptor
);
}

Expand Down
4 changes: 3 additions & 1 deletion src/renderer/lib/transformerlab-api-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ export async function sendCompletion(
model = adaptor;
}

console.log('model', model);

const data = {
model: model,
stream: false, // For streaming responses
Expand Down Expand Up @@ -776,7 +778,7 @@ export async function activateWorker(

let model = modelName;
if (adaptorName !== '') {
model = `workspace/peft/${modelName}/${adaptorName}`;
model = `workspace/adaptors/${modelName}/${adaptorName}`;
}

if (modelFilename !== null) {
Expand Down

0 comments on commit 017564d

Please sign in to comment.