fix: Sprache-Reiter sperrte die Datenbank doppelt; Denkstufe als Symbol, Reiter nach Styleguide; Version 0.1.15-rc2 (#1157)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -20,6 +20,8 @@ use std::{fs, path::Path};
|
||||
pub(super) enum Herkunft {
|
||||
Engine,
|
||||
Datei,
|
||||
/// Am Modell selbst getestet (Selbsttest, #1157).
|
||||
Test,
|
||||
}
|
||||
|
||||
/// Symbole in fester Reihenfolge: Chat, Bilder (Vision), Werkzeuge, Embeddings, Streaming, Completions, Sprachausgabe.
|
||||
@ -145,6 +147,10 @@ fn svg(key: &str) -> &'static str {
|
||||
"speech" => {
|
||||
"<path d=\"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z\"/><path d=\"M16 9a5 5 0 0 1 0 6\"/><path d=\"M19.364 18.364a9 9 0 0 0 0-12.728\"/>"
|
||||
}
|
||||
// lightbulb
|
||||
"think" => {
|
||||
"<path d=\"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5\"/><path d=\"M9 18h6\"/><path d=\"M10 22h4\"/>"
|
||||
}
|
||||
// braces
|
||||
_ => {
|
||||
"<path d=\"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1\"/><path d=\"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1\"/>"
|
||||
@ -160,6 +166,7 @@ fn titel(key: &str) -> &'static str {
|
||||
"embed" => "Embeddings",
|
||||
"stream" => "Streaming",
|
||||
"speech" => "Sprachausgabe",
|
||||
"think" => "Denkstufe",
|
||||
_ => "Completions",
|
||||
}
|
||||
}
|
||||
@ -261,6 +268,7 @@ pub(super) fn zelle(symbole: &[(&'static str, Herkunft)]) -> String {
|
||||
.iter()
|
||||
.map(|(key, herkunft)| match herkunft {
|
||||
Herkunft::Datei => symbol(key, "datei", "aus den Dateien des Modells erkannt"),
|
||||
Herkunft::Test => symbol(key, "datei", "am Modell getestet (Selbsttest)"),
|
||||
Herkunft::Engine => symbol(
|
||||
key,
|
||||
"engine",
|
||||
|
||||
Reference in New Issue
Block a user