bamboo-agent 2026.4.2

A fully self-contained AI agent backend framework with built-in web services, multi-LLM provider support, and comprehensive tool execution
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use actix_web::web;

use super::{generate_content, list_models, stream_generate_content};

/// Configure Gemini API routes.
pub fn config(cfg: &mut web::ServiceConfig) {
    cfg.route("/models", web::get().to(list_models))
        .route(
            "/models/{model}:generateContent",
            web::post().to(generate_content),
        )
        .route(
            "/models/{model}:streamGenerateContent",
            web::post().to(stream_generate_content),
        );
}