feat: dashboard KDE Plasma 6 per residui Ollama Cloud con countdown reset
Widget desktop 224x224 che mostra: - residuo sessione (5h) e settimanale (7d) con barre colorate - conteggio richieste, costo 4 settimane, modello top - timer di reset stimati (calibrati al primo reset osservato) - backend bash che chiama https://ollama.com/api/usage - legge la chiave API da ~/.pi/agent/auth.json (provider ollama-cloud)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<kcfg xmlns="http://www.kde.org/standards/kcfg/1.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
|
||||
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd">
|
||||
<kcfgfile name=""/>
|
||||
<group name="General">
|
||||
<entry name="refreshIntervalSec" type="Int">
|
||||
<default>300</default>
|
||||
<min>30</min>
|
||||
<max>3600</max>
|
||||
<label>Intervallo di aggiornamento (secondi)</label>
|
||||
<whatsthis>Quanto spesso il plasmoide aggiorna l'utilizzo di Ollama Cloud. Minimo 30s. Default 300s (5 minuti, come l'estensione pi).</whatsthis>
|
||||
</entry>
|
||||
<entry name="warnThreshold" type="Int">
|
||||
<default>40</default>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<label>Soglia gialla per il residuo (%)</label>
|
||||
<whatsthis>Sotto questa percentuale di residuo la barra diventa gialla.</whatsthis>
|
||||
</entry>
|
||||
<entry name="critThreshold" type="Int">
|
||||
<default>20</default>
|
||||
<min>0</min>
|
||||
<max>100</max>
|
||||
<label>Soglia rossa per il residuo (%)</label>
|
||||
<whatsthis>Sotto questa percentuale di residuo la barra diventa rossa.</whatsthis>
|
||||
</entry>
|
||||
<entry name="showActivity" type="Bool">
|
||||
<default>true</default>
|
||||
<label>Mostra il costo attività (ultime 4 settimane)</label>
|
||||
</entry>
|
||||
<entry name="showModels" type="Bool">
|
||||
<default>true</default>
|
||||
<label>Mostra il conteggio richieste per modello</label>
|
||||
</entry>
|
||||
</group>
|
||||
</kcfg>
|
||||
Reference in New Issue
Block a user