aiclient-api 0.1.0

A unified AI gateway daemon exposing OpenAI-compatible and Anthropic-compatible API endpoints, backed by GitHub Copilot and Kiro (AWS CodeWhisperer)
Documentation
1
2
3
4
5
6
7
8
9
use anyhow::Result;

use super::status::send_control_request;

pub async fn run() -> Result<()> {
    let resp = send_control_request(serde_json::json!({"method": "models"})).await?;
    println!("{}", serde_json::to_string_pretty(&resp)?);
    Ok(())
}