Skip to main content

aix_google/
lib.rs

1//! Google Gemini Provider for AIX (Placeholder)
2//!
3//! This is a placeholder implementation. The full Google Gemini provider
4//! implementation is planned for a future release.
5
6#![allow(dead_code)]
7
8pub struct GoogleConfig {
9    pub api_key: String,
10}
11
12impl GoogleConfig {
13    pub fn new<S: Into<String>>(api_key: S) -> Self {
14        Self {
15            api_key: api_key.into(),
16        }
17    }
18}
19
20pub struct GoogleProvider {
21    config: GoogleConfig,
22}
23
24impl GoogleProvider {
25    pub fn new(config: GoogleConfig) -> Result<Self, aix_core::error::AixError> {
26        Ok(Self { config })
27    }
28}
29
30impl std::fmt::Display for GoogleProvider {
31    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
32        write!(f, "GoogleProvider (placeholder)")
33    }
34}