Fixing warnings and moving LLM providers into a module

This commit is contained in:
Dave
2026-01-27 13:30:46 +00:00
parent 1f1f5f6dac
commit 8b14aa1f6f
5 changed files with 5 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
use crate::commands::{fs, search, shell}; use crate::commands::{fs, search, shell};
use crate::llm::anthropic::AnthropicProvider;
use crate::llm::ollama::OllamaProvider;
use crate::llm::prompts::SYSTEM_PROMPT; use crate::llm::prompts::SYSTEM_PROMPT;
use crate::llm::providers::anthropic::AnthropicProvider;
use crate::llm::providers::ollama::OllamaProvider;
use crate::llm::types::{Message, Role, ToolCall, ToolDefinition, ToolFunctionDefinition}; use crate::llm::types::{Message, Role, ToolCall, ToolDefinition, ToolFunctionDefinition};
use crate::state::SessionState; use crate::state::SessionState;
use serde::Deserialize; use serde::Deserialize;

View File

@@ -1,4 +1,3 @@
pub mod anthropic;
pub mod ollama;
pub mod prompts; pub mod prompts;
pub mod providers;
pub mod types; pub mod types;

View File

@@ -0,0 +1,2 @@
pub mod anthropic;
pub mod ollama;