From 48e000a5e47f92c15c961570b511b3eeaf7407c4 Mon Sep 17 00:00:00 2001 From: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com> Date: Tue, 15 Sep 2026 07:02:47 -0700 Subject: [PATCH] chore: drop the dead max_tokens from both e2e pipeline profiles context-simple's `max_tokens` used to be a fallback consulted only when a provider published no context window, so in these profiles it was inert. It is now a CAP defaulting to None, and leaving the lines in place would clamp both pipelines to 300,000 tokens. The Gemini profile is the interesting one. Gemini's provider published no context window at all, so this 300,000 was genuinely live there -- the only place in the ecosystem where it was. provider-gemini now publishes its real 1,048,576-token window, so removing the line lets that pipeline use the whole model instead of 29% of it, which is the point. Both files re-parsed after the edit; the first attempt removed the orchestrator's `config:` key instead of the context manager's, and the parse check caught it. Generated with Amplifier Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com> --- profiles/attractor-e2e-pipeline-anthropic.yaml | 1 - profiles/attractor-e2e-pipeline-gemini.yaml | 1 - 2 files changed, 2 deletions(-) diff --git a/profiles/attractor-e2e-pipeline-anthropic.yaml b/profiles/attractor-e2e-pipeline-anthropic.yaml index d94ea84..c24c210 100644 --- a/profiles/attractor-e2e-pipeline-anthropic.yaml +++ b/profiles/attractor-e2e-pipeline-anthropic.yaml @@ -52,7 +52,6 @@ session: module: context-simple source: git+https://github.com/microsoft/amplifier-module-context-simple@main config: - max_tokens: 300000 compact_threshold: 0.8 auto_compact: true diff --git a/profiles/attractor-e2e-pipeline-gemini.yaml b/profiles/attractor-e2e-pipeline-gemini.yaml index f5da517..d8b2c8f 100644 --- a/profiles/attractor-e2e-pipeline-gemini.yaml +++ b/profiles/attractor-e2e-pipeline-gemini.yaml @@ -52,7 +52,6 @@ session: module: context-simple source: git+https://github.com/microsoft/amplifier-module-context-simple@main config: - max_tokens: 300000 compact_threshold: 0.8 auto_compact: true