Skip to content

Conversation

@adk-bot
Copy link
Collaborator

@adk-bot adk-bot commented Oct 22, 2025

This pull request adds documentation for the new context_window_compression attribute in RunConfig, as requested in issue #796.

@joefernandez joefernandez changed the title Update ADK doc according to issue #796 - 8 Update ADK doc according to issue #796 - 8 - Runtime context_window_compression parameter Nov 4, 2025
| `output_audio_transcription` | `Optional[types.AudioTranscriptionConfig]` | `AudioTranscriptionConfig` (nullable via `@Nullable`) | `None` / `null` | Configures transcription of generated audio output using the `AudioTranscriptionConfig` type. |
| `max_llm_calls` | `int` | `int` | `500` / `500` | Limits total LLM calls per run. `0` or negative means unlimited (warned); `sys.maxsize` raises `ValueError`. |
| `support_cfc` | `bool` | *Currently not supported* | `False` / N/A | **Python:** Enables Compositional Function Calling. Requires `streaming_mode=SSE` and uses the LIVE API. **Experimental.** |
| `context_window_compression` | `Optional[types.ContextWindowCompressionConfig]` | | `None` | Configuration for context window compression. |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not sufficient to document this feature. What are the settings of the ContextWindowCompressionConfig class? What's a minimal example of setting this config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants