From f770592834345b0e530bf24e19bad64988973152 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 02:11:31 +0000 Subject: [PATCH 1/3] Initial plan From 007461a4155227b47ea4feaff9039a9e0a286328 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 02:18:09 +0000 Subject: [PATCH 2/3] Plan model inventory update Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- .github/workflows/mcp-inspector.lock.yml | 2 +- .github/workflows/smoke-otel-backends.lock.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mcp-inspector.lock.yml b/.github/workflows/mcp-inspector.lock.yml index 4eef8f439b3..2c996184978 100644 --- a/.github/workflows/mcp-inspector.lock.yml +++ b/.github/workflows/mcp-inspector.lock.yml @@ -1000,7 +1000,7 @@ jobs: "url": "https://mcp.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=core", "headers": { "DD_API_KEY": "\${DD_API_KEY}", - "DD_APPLICATION_KEY": "\${DD_APP_KEY}", + "DD_APPLICATION_KEY": "\${DD_APPLICATION_KEY}", "DD_SITE": "\${DD_SITE}" }, "tools": [ diff --git a/.github/workflows/smoke-otel-backends.lock.yml b/.github/workflows/smoke-otel-backends.lock.yml index 092ac357201..6f51faa9a84 100644 --- a/.github/workflows/smoke-otel-backends.lock.yml +++ b/.github/workflows/smoke-otel-backends.lock.yml @@ -773,7 +773,7 @@ jobs: "url": "https://mcp.datadoghq.com/api/unstable/mcp-server/mcp?toolsets=core", "headers": { "DD_API_KEY": "\${DD_API_KEY}", - "DD_APPLICATION_KEY": "\${DD_APP_KEY}", + "DD_APPLICATION_KEY": "\${DD_APPLICATION_KEY}", "DD_SITE": "\${DD_SITE}" }, "tools": [ From 085ed31a27d4b3c8fdf8499daa02ba7e7c3bf37b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 20 May 2026 02:25:44 +0000 Subject: [PATCH 3/3] Add gemini-3.5-flash ET multiplier Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com> --- actions/setup/js/model_multipliers.json | 1 + pkg/cli/data/model_multipliers.json | 1 + pkg/cli/effective_tokens_test.go | 8 ++++++++ 3 files changed, 10 insertions(+) diff --git a/actions/setup/js/model_multipliers.json b/actions/setup/js/model_multipliers.json index be51d11a918..934da8d0e97 100644 --- a/actions/setup/js/model_multipliers.json +++ b/actions/setup/js/model_multipliers.json @@ -131,6 +131,7 @@ "gemini-3.1-flash-lite-preview": 0.1, "gemini-3.1-flash-image-preview": 0.33, "gemini-3.1-flash-tts-preview": 0.1, + "gemini-3.5-flash": 14.0, "gemini-2.5-computer-use-preview": 0.2, "gemini-2.5-computer-use-preview-10-2025": 0.2, "gemini-robotics-er-1.5-preview": 0.2, diff --git a/pkg/cli/data/model_multipliers.json b/pkg/cli/data/model_multipliers.json index be51d11a918..934da8d0e97 100644 --- a/pkg/cli/data/model_multipliers.json +++ b/pkg/cli/data/model_multipliers.json @@ -131,6 +131,7 @@ "gemini-3.1-flash-lite-preview": 0.1, "gemini-3.1-flash-image-preview": 0.33, "gemini-3.1-flash-tts-preview": 0.1, + "gemini-3.5-flash": 14.0, "gemini-2.5-computer-use-preview": 0.2, "gemini-2.5-computer-use-preview-10-2025": 0.2, "gemini-robotics-er-1.5-preview": 0.2, diff --git a/pkg/cli/effective_tokens_test.go b/pkg/cli/effective_tokens_test.go index 6ce89bcbb2b..fa7b440f9c4 100644 --- a/pkg/cli/effective_tokens_test.go +++ b/pkg/cli/effective_tokens_test.go @@ -109,6 +109,14 @@ func TestModelMultipliersInventoryUpdate20260519(t *testing.T) { assert.InDelta(t, 1.0, loadedMultipliers["gpt-5-chat-latest"], 1e-9, "gpt-5-chat-latest should be present") } +func TestModelMultipliersInventoryUpdate20260520(t *testing.T) { + loadedMultipliers = nil + initMultipliers() + + require.NotNil(t, loadedMultipliers, "multipliers should be loaded from embedded JSON") + assert.InDelta(t, 14.0, loadedMultipliers["gemini-3.5-flash"], 1e-9, "gemini-3.5-flash should use the documented premium multiplier") +} + func TestPopulateEffectiveTokensWithCustomWeights(t *testing.T) { loadedMultipliers = nil