Chain-Meta als Badges im Chat statt in Meta-Bar anzeigen
- Meta-Bar zeigt nur noch Status (Streaming.../Bereit) - Chain-Infos (Model, Tokens, Dauer etc.) als Badges im Chat - Badges bei Streaming, History-Load und Archiv-Ansicht - buildMetaString → buildMetaBadges, neue addChainMetaBubble Funktion
This commit is contained in:
1 parent
d434c3ff2a
commit
873e40b5d1
4 files changed
+58
-16
No files matched your search
@@ -21,15 +21,13 @@ function startStreamingPoll(sessionId, sendBtn, chainId) {
|
||||
// Finale Nachrichten nochmal laden
|
||||
await pollHistory(true);
|
||||
|
||||
// Chain-Daten laden für Meta-Info
|
||||
// Chain-Daten laden für Meta-Info im Chat
|
||||
const cid = _recoveryChainId || status.chainId;
|
||||
if (cid) {
|
||||
const chain = await apiGetChain(cid);
|
||||
if (chain) setMeta(buildMetaString(chain));
|
||||
else setMeta('Bereit');
|
||||
} else {
|
||||
setMeta('Bereit');
|
||||
if (chain) addChainMetaBubble(chain, false);
|
||||
}
|
||||
setMeta('Bereit');
|
||||
_recoveryChainId = null;
|
||||
}
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user