Skip to main content

Module client

Module client 

Source
Expand description

Simplified LLM client trait and adapter. Unified LLM client trait.

The canonical LLMClient trait, AnyClient alias, and ProviderClientAdapter live in vtcode_llm::client. This module re-exports them so the historical crate::llm::client::* import paths continue to resolve throughout vtcode-core, and adds the core-side make_client factory, which resolves core ModelId values through core’s provider factory.

Structs§

ProviderClientAdapter
Adapter to use LLMProvider as LLMClient

Traits§

LLMClient
Unified LLM client trait.

Functions§

make_client
Create a client based on the model ID Uses the existing factory pattern from factory.rs

Type Aliases§

AnyClient
Type-erased LLM client