pub fn adapt(client: Arc<dyn LlmClient>) -> Arc<dyn StreamClient> ⓘExpand description
Convenience: wrap an Arc<dyn LlmClient> as an Arc<dyn StreamClient>.
This is the primary migration path for existing LlmClient implementations.
Use this when you have a legacy client and need to pass it to APIs that
expect StreamClient.