mod catalog;
mod configuration;
mod error;
mod foundry_local_manager;
mod types;
pub(crate) mod detail;
pub mod openai;
pub use self::catalog::Catalog;
pub use self::configuration::{FoundryLocalConfig, LogLevel, Logger};
pub use self::detail::model::Model;
pub use self::error::FoundryLocalError;
pub use self::foundry_local_manager::FoundryLocalManager;
pub use self::types::{
ChatResponseFormat, ChatToolChoice, DeviceType, EpDownloadResult, EpInfo, ModelInfo,
ModelSettings, Parameter, PromptTemplate, Runtime,
};
pub use async_openai::types::chat::{
ChatCompletionNamedToolChoice, ChatCompletionRequestAssistantMessage,
ChatCompletionRequestMessage, ChatCompletionRequestSystemMessage,
ChatCompletionRequestToolMessage, ChatCompletionRequestUserMessage,
ChatCompletionToolChoiceOption, ChatCompletionTools, FunctionObject,
};
pub use crate::openai::{
AudioTranscriptionResponse, AudioTranscriptionStream, ChatCompletionStream,
TranscriptionSegment, TranscriptionWord,
};
pub use async_openai::types::chat::{
ChatChoice, ChatChoiceStream, ChatCompletionMessageToolCall,
ChatCompletionMessageToolCallChunk, ChatCompletionMessageToolCalls,
ChatCompletionResponseMessage, ChatCompletionStreamResponseDelta, CompletionUsage,
CreateChatCompletionResponse, CreateChatCompletionStreamResponse, FinishReason, FunctionCall,
FunctionCallStream,
};