v1.5.4: Remove unused feature flags and oz-platform skill
Remove cloud/sharing feature flags (viewing_shared_sessions, shared_with_me, session_sharing_acls, shared_block_title_generation, agent_shared_sessions, cloud_environments, cloud_conversations, etc.) and classic_completions flags. Remove oz-platform skill. Update blocklist views and drive index. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
1fee031ea5
commit
d9bdafed0a
@@ -280,15 +280,18 @@ impl ConversationUsageView {
|
||||
));
|
||||
}
|
||||
|
||||
// Cache hit rate: proportion of total input tokens served from cache
|
||||
let total_input = self.usage_info.total_input_tokens;
|
||||
if total_input > 0 && self.usage_info.total_cache_read_tokens > 0 {
|
||||
// Cache hit rate: cache_reads / (cache_reads + cache_writes + cache_misses)
|
||||
// where cache_misses = total_input_tokens (non-cached input)
|
||||
let total_cache_ops = self.usage_info.total_cache_read_tokens
|
||||
+ self.usage_info.total_cache_write_tokens
|
||||
+ self.usage_info.total_input_tokens;
|
||||
if total_cache_ops > 0 && self.usage_info.total_cache_read_tokens > 0 {
|
||||
let hit_rate = (self.usage_info.total_cache_read_tokens as f32
|
||||
/ total_input as f32)
|
||||
/ total_cache_ops as f32)
|
||||
* 100.0;
|
||||
labels.push(render_label_text("Cache hit rate", appearance));
|
||||
values.push(render_value_text(
|
||||
format!("{:.0}%", hit_rate.min(100.0)),
|
||||
format!("{:.1}%", hit_rate),
|
||||
appearance,
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user