mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-09 01:09:54 +00:00
tweak
This commit is contained in:
@@ -503,7 +503,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (this.#files.length) {
|
if (this.#files.length) {
|
||||||
data.files = this.#files;
|
data.files = this.#files.map(file => ({
|
||||||
|
name: file.name,
|
||||||
|
content: file.content,
|
||||||
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.#tool) {
|
if (this.#tool) {
|
||||||
@@ -999,7 +1002,7 @@
|
|||||||
|
|
||||||
models[model.id] = model;
|
models[model.id] = model;
|
||||||
modelList.push(model);
|
modelList.push(model);
|
||||||
})
|
});
|
||||||
|
|
||||||
dropdown($model, 4);
|
dropdown($model, 4);
|
||||||
|
|
||||||
@@ -1009,7 +1012,7 @@
|
|||||||
el.textContent = prompt.name;
|
el.textContent = prompt.name;
|
||||||
|
|
||||||
promptList.push(prompt);
|
promptList.push(prompt);
|
||||||
})
|
});
|
||||||
|
|
||||||
dropdown($prompt);
|
dropdown($prompt);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user