vv-agent 0.4.0

VectorVein agent runtime, SDK, CLI, tools, and workspace backends
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
pub(in crate::llm::vv_llm_client) fn endpoint_type_for_prompt_cache(
    backend: &str,
    provider_name: &str,
) -> String {
    let normalized_provider = provider_name.trim().to_ascii_lowercase();
    if matches!(
        normalized_provider.as_str(),
        "anthropic" | "anthropic_vertex"
    ) {
        return normalized_provider;
    }
    backend.trim().to_ascii_lowercase()
}