Add bots files handling logic

This commit is contained in:
2026-10-21 17:56:09 +01:00
parent b0af4db1bf
commit d17a4a7bdd
97 changed files with 5843 additions and 41 deletions
+10 -2
View File
@@ -2,8 +2,9 @@
* The harnesses: what a model is used for. Each harness has one model
* setting (`harness_settings`). Text is the brain and can't be turned off;
* the others are helpers it calls on. `automatic` ones pick a free model
* themselves when none is picked; the rest (transcription, speech) are
* not available until one is, since free picks there rarely work.
* themselves when none is picked; the rest (transcription, speech,
* embeddings) are not available until one is, since free picks there
* rarely work.
*/
export const Harnesses = [
{
@@ -41,6 +42,13 @@ export const Harnesses = [
description: `Makes images when a bot is asked for one.`,
required: false,
},
{
title: "Embeddings",
value: "embedding",
automatic: false,
description: `Turns the files bots save into vectors, so they can search them. Without one, searching falls back to plain text matching.`,
required: false,
},
] as const;
export type HarnessKind = (typeof Harnesses)[number]["value"];