LangGraph is API-only with no web UI, so the ToolEmbed iframe pattern doesn't work. Replace it with an informational landing page featuring a hero section, connection status indicator, quick-start card grid linking to docs/GitHub/examples, and a live table of registered agents fetched from the LangGraph POST /assistants/search endpoint. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
42 lines
979 B
Rust
42 lines
979 B
Rust
// Server function modules (compiled for both web and server features;
|
|
// the #[server] macro generates client stubs for the web target)
|
|
pub mod auth_check;
|
|
pub mod chat;
|
|
pub mod langgraph;
|
|
pub mod llm;
|
|
pub mod ollama;
|
|
pub mod searxng;
|
|
|
|
// Server-only modules (Axum handlers, state, configs, DB, etc.)
|
|
#[cfg(feature = "server")]
|
|
mod auth;
|
|
#[cfg(feature = "server")]
|
|
mod auth_middleware;
|
|
#[cfg(feature = "server")]
|
|
pub mod config;
|
|
#[cfg(feature = "server")]
|
|
pub mod database;
|
|
#[cfg(feature = "server")]
|
|
mod error;
|
|
#[cfg(feature = "server")]
|
|
pub mod provider_client;
|
|
#[cfg(feature = "server")]
|
|
mod server;
|
|
#[cfg(feature = "server")]
|
|
pub mod server_state;
|
|
#[cfg(feature = "server")]
|
|
mod state;
|
|
|
|
#[cfg(feature = "server")]
|
|
pub use auth::*;
|
|
#[cfg(feature = "server")]
|
|
pub use auth_middleware::*;
|
|
#[cfg(feature = "server")]
|
|
pub use error::*;
|
|
#[cfg(feature = "server")]
|
|
pub use server::*;
|
|
#[cfg(feature = "server")]
|
|
pub use server_state::*;
|
|
#[cfg(feature = "server")]
|
|
pub use state::*;
|