Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HF_HOME | No | HuggingFace cache directory | |
| HF_TOKEN | No | HuggingFace access token for private models | |
| RUST_LOG | No | Rust logging configuration | |
| OPENAI_API_KEY | No | OpenAI API key for embeddings | |
| CODEGRAPH_CONFIG | No | Path to CodeGraph configuration file | |
| CODEGRAPH_DB_PATH | No | Custom path for CodeGraph database | |
| CODEGRAPH_ONNX_EP | No | ONNX Runtime execution provider (cpu, coreml) | |
| CODEGRAPH_HTTP_PORT | No | HTTP port for CodeGraph server | |
| CODEGRAPH_LOG_LEVEL | No | Log level for CodeGraph (debug, info, warn, error) | |
| CODEGRAPH_LOCAL_MODEL | No | Path to local ONNX model file or HuggingFace model name | |
| CODEGRAPH_EMBEDDING_PROVIDER | No | The embedding provider to use (onnx, local, openai, etc.) |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |