Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | Yes | Your Google Gemini API key used for agent analysis. | |
| SPARK_OPT_MODEL | No | The Gemini model to use for analysis. | gemini-2.0-flash-exp |
| SPARK_OPT_TIMEOUT | No | Timeout for requests in seconds. | 30 |
| SPARK_OPT_LOG_LEVEL | No | Logging level (e.g., DEBUG, INFO, WARNING, ERROR). | INFO |
| SPARK_OPT_MAX_STAGES | No | Maximum number of stages to analyze. | 5 |
| SPARK_OPT_HISTORY_URL | No | The URL of the Spark History Server. | http://localhost:18080 |
| SPARK_OPT_MAX_RETRIES | No | Maximum number of retries for API calls. | 5 |
| SPARK_OPT_RETRY_DELAY | No | Delay between retries in seconds. | 5.0 |
| SPARK_OPT_CODE_ANALYSIS | No | Whether to enable code-level optimizations analysis. | true |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |