Directories
ΒΆ
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
server
command
Package main provides the entry point for the CLI Proxy API server.
|
Package main provides the entry point for the CLI Proxy API server. |
|
examples
|
|
|
custom-provider
command
Package main demonstrates creating a custom AI provider executor and integrating it with the llm-mux server.
|
Package main demonstrates creating a custom AI provider executor and integrating it with the llm-mux server. |
|
internal
|
|
|
api
Package api provides the HTTP API server implementation for the CLI Proxy API.
|
Package api provides the HTTP API server implementation for the CLI Proxy API. |
|
api/handlers/management
Package management provides the management API handlers and middleware for configuring the server and managing auth files.
|
Package management provides the management API handlers and middleware for configuring the server and managing auth files. |
|
api/middleware
Package middleware provides HTTP middleware components for the CLI Proxy API server.
|
Package middleware provides HTTP middleware components for the CLI Proxy API server. |
|
api/modules
Package modules provides a pluggable routing module system for extending the API server with optional features without modifying core routing logic.
|
Package modules provides a pluggable routing module system for extending the API server with optional features without modifying core routing logic. |
|
api/modules/amp
Package amp implements the Amp CLI routing module, providing OAuth-based integration with Amp CLI for ChatGPT and Anthropic subscriptions.
|
Package amp implements the Amp CLI routing module, providing OAuth-based integration with Amp CLI for ChatGPT and Anthropic subscriptions. |
|
auth
Package auth provides authentication functionality for various AI service providers.
|
Package auth provides authentication functionality for various AI service providers. |
|
auth/claude
Package claude provides OAuth2 authentication functionality for Anthropic's Claude API.
|
Package claude provides OAuth2 authentication functionality for Anthropic's Claude API. |
|
auth/codex
Package codex provides authentication and token management for OpenAI's Codex API.
|
Package codex provides authentication and token management for OpenAI's Codex API. |
|
auth/copilot
Package copilot provides authentication for GitHub Copilot API.
|
Package copilot provides authentication for GitHub Copilot API. |
|
auth/gemini
Package gemini provides authentication and token management functionality for Google's Gemini AI services.
|
Package gemini provides authentication and token management functionality for Google's Gemini AI services. |
|
auth/qwen
Package qwen provides authentication and token management functionality for Alibaba's Qwen AI services.
|
Package qwen provides authentication and token management functionality for Alibaba's Qwen AI services. |
|
auth/vertex
Package vertex provides token storage for Google Vertex AI Gemini via service account credentials.
|
Package vertex provides token storage for Google Vertex AI Gemini via service account credentials. |
|
browser
Package browser provides cross-platform functionality for opening URLs in the default web browser.
|
Package browser provides cross-platform functionality for opening URLs in the default web browser. |
|
buildinfo
Package buildinfo exposes compile-time metadata shared across the server.
|
Package buildinfo exposes compile-time metadata shared across the server. |
|
cmd
Package cmd provides command-line interface functionality for the CLI Proxy API server.
|
Package cmd provides command-line interface functionality for the CLI Proxy API server. |
|
config
Package config provides configuration management for the CLI Proxy API server.
|
Package config provides configuration management for the CLI Proxy API server. |
|
constant
Package constant defines provider name constants used throughout the CLI Proxy API.
|
Package constant defines provider name constants used throughout the CLI Proxy API. |
|
embedded
Package embedded provides access to generated default configuration.
|
Package embedded provides access to generated default configuration. |
|
interfaces
Package interfaces defines the core interfaces and shared structures for the CLI Proxy API server.
|
Package interfaces defines the core interfaces and shared structures for the CLI Proxy API server. |
|
logging
Package logging provides Gin middleware for HTTP request logging and panic recovery.
|
Package logging provides Gin middleware for HTTP request logging and panic recovery. |
|
misc
Package misc provides miscellaneous utility functions and embedded data for the CLI Proxy API.
|
Package misc provides miscellaneous utility functions and embedded data for the CLI Proxy API. |
|
oauth
Package oauth provides OAuth HTML response generation.
|
Package oauth provides OAuth HTML response generation. |
|
registry
Package registry provides shared Gemini model metadata for all Google providers.
|
Package registry provides shared Gemini model metadata for all Google providers. |
|
runtime/executor
Package executor provides common functionality for provider executors.
|
Package executor provides common functionality for provider executors. |
|
translator/from_ir
Package from_ir converts unified request format to provider-specific formats.
|
Package from_ir converts unified request format to provider-specific formats. |
|
translator/ir
Package ir provides memory pools for the translator layer.
|
Package ir provides memory pools for the translator layer. |
|
translator/to_ir
Package to_ir converts provider-specific API formats into unified format.
|
Package to_ir converts provider-specific API formats into unified format. |
|
usage
Package usage provides usage tracking and logging functionality for the CLI Proxy API server.
|
Package usage provides usage tracking and logging functionality for the CLI Proxy API server. |
|
util
Package util provides utility functions for the llm-mux project.
|
Package util provides utility functions for the llm-mux project. |
|
watcher
Package watcher provides file system monitoring functionality for the CLI Proxy API.
|
Package watcher provides file system monitoring functionality for the CLI Proxy API. |
|
sdk
|
|
|
cliproxy
Package cliproxy provides the core service implementation for the CLI Proxy API.
|
Package cliproxy provides the core service implementation for the CLI Proxy API. |
|
config
Package config provides configuration management for the CLI Proxy API server.
|
Package config provides configuration management for the CLI Proxy API server. |
|
translator
Package translator provides format definitions for request/response translation.
|
Package translator provides format definitions for request/response translation. |
Click to show internal directories.
Click to hide internal directories.