Files
MyAiDesk/nomifun-tauri/crates/agent/nomi-agent/tests/e2e/mod.rs
T
freedak f7a720204a Update: 将子项目从 submodule 转为完整内容
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用
- 添加所有子项目的完整源代码
- 保留原始 .git 为 .git.bak 备份
2026-07-04 19:20:46 +08:00

16 lines
575 B
Rust

/// End-to-end tests that hit real LLM provider APIs.
///
/// These tests are skipped when the required environment variable is absent,
/// making them safe to compile and run in any environment while still providing
/// full coverage in CI when secrets are available.
///
/// Required env vars (at least one):
/// ANTHROPIC_API_KEY — runs Anthropic provider tests
/// OPENAI_API_KEY — runs OpenAI provider tests
///
/// Run manually:
/// ANTHROPIC_API_KEY=sk-ant-... cargo test -p nomi-agent --test e2e -- --nocapture
mod anthropic;
mod compaction;
mod openai;