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
10
11
12
13
14
15
16
17
#[test]
fn test_config_dir_returns_path() {
    let path = aiclient_api::util::xdg::config_dir();
    assert!(path.ends_with("aiclient-api"));
}

#[test]
fn test_runtime_dir_returns_path() {
    let path = aiclient_api::util::xdg::runtime_dir();
    assert!(path.to_str().unwrap().contains("aiclient-api"));
}

#[test]
fn test_state_dir_returns_path() {
    let path = aiclient_api::util::xdg::state_dir();
    assert!(path.to_str().unwrap().contains("aiclient-api"));
}