Module templates

Module templates 

Source
Expand description

Template module for AI provider configurations

This module provides a modular approach to managing different AI provider templates. Each template is implemented as a separate module with the Template trait.

Re-exports§

pub use deepseek::*;
pub use k2::*;
pub use kat_coder::*;
pub use kimi::*;
pub use longcat::*;
pub use minimax::*;
pub use zai::*;

Modules§

deepseek
DeepSeek AI provider template implementation
k2
K2 (Moonshot) AI provider template implementation
kat_coder
KatCoder (WanQing) AI provider template implementation
kimi
Kimi AI provider template implementation
longcat
Longcat AI provider template implementation
minimax
MiniMax AI provider template implementation
zai
ZAI (GLM/Zhipu) AI provider template implementation

Enums§

TemplateType
Type of AI provider template

Traits§

Template
Trait that all AI provider templates must implement

Functions§

get_all_templates
Get all available template types
get_env_var_name
Get the environment variable name for a template type
get_template
Legacy compatibility function - creates a settings function for backwards compatibility
get_template_instance
Get a template instance by type
get_template_type
Get template type from string