Skip to content

fix(generation): expand output budget - #310

Merged
graphite-app[bot] merged 1 commit into
mainfrom
gen/gen-request-budget
Sep 1, 2026
Merged

fix(generation): expand output budget#310
graphite-app[bot] merged 1 commit into
mainfrom
gen/gen-request-budget

Conversation

@anandpant

@anandpant anandpant commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Scope

  • Raise Gemini's default output budget from 2,048 to 16,384 tokens while preserving request overrides.
  • Train compact one-line JSON through both instructions and examples.
  • Classify Gemini MAX_TOKENS completion as explicit output_truncated failure evidence.

Proof

  • pnpm nx run-many -t typecheck,test,build - passed (52 tasks; 50 executed, 2 cache hits)
  • pnpm nx build-storybook diagram-ui - passed
  • pnpm nx test diagram-scenarios --skip-nx-cache - passed
  • Added default-budget, compact-message, and truncation classification tests.

This is PR 2 of 6 in the generation-reliability stack.

anandpant commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator Author

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • fast - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@graphite-app

graphite-app Bot commented Sep 1, 2026

Copy link
Copy Markdown

Merge activity

## Scope

- Raise Gemini's default output budget from 2,048 to 16,384 tokens while preserving request overrides.
- Train compact one-line JSON through both instructions and examples.
- Classify Gemini `MAX_TOKENS` completion as explicit `output_truncated` failure evidence.

## Proof

- `pnpm nx run-many -t typecheck,test,build` - passed (52 tasks; 50 executed, 2 cache hits)
- `pnpm nx build-storybook diagram-ui` - passed
- `pnpm nx test diagram-scenarios --skip-nx-cache` - passed
- Added default-budget, compact-message, and truncation classification tests.

This is PR 2 of 6 in the generation-reliability stack.
@graphite-app
graphite-app Bot force-pushed the gen/gen-diagnostics branch from 00736da to d6a3d8f Compare September 1, 2026 21:25
@graphite-app
graphite-app Bot force-pushed the gen/gen-request-budget branch from 8f53c04 to c2bfe33 Compare September 1, 2026 21:26
Base automatically changed from gen/gen-diagnostics to main September 1, 2026 21:29
@graphite-app
graphite-app Bot merged commit c2bfe33 into main Sep 1, 2026
4 checks passed
@graphite-app
graphite-app Bot deleted the gen/gen-request-budget branch September 1, 2026 21:30
@graphite-app
graphite-app Bot deployed to production September 1, 2026 21:30 Active
@graphite-app
graphite-app Bot deployed to production September 1, 2026 21:30 Active
@graphite-app
graphite-app Bot deployed to production September 1, 2026 21:30 Active
@graphite-app
graphite-app Bot deployed to production September 1, 2026 21:30 Active
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Eval Harness Preview

Status: deleted

  • Surface: internal preview; not linked from public navigation
  • Project: eval-harness
  • Worker identity: sketchi-playground
  • Route policy: internal eval harness; no public product domain
  • Preview Worker: sketchi-playground-pr-310
  • Commit: c2bfe33a6ad1
  • Workflow run: https://github.com/shpitdev/sketchi/actions/runs/33561412501

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Icons Preview

Status: deleted

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Web Preview

Status: deleted

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Playground / Studio Preview

Status: deleted

  • Surface: public product preview
  • Project: playground
  • Worker identity: sketchi-studio
  • Route policy: playground.sketchi.app product surface; authenticated Studio remains unexposed
  • Preview Worker: sketchi-studio-pr-310
  • Commit: c2bfe33a6ad1
  • Workflow run: https://github.com/shpitdev/sketchi/actions/runs/33561412501

Preview Worker cleanup has completed.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Sketchi Excalidraw Workspace Preview

Status: deleted

  • Surface: internal preview; not linked from public navigation
  • Project: excalidraw
  • Worker identity: sketchi-excalidraw
  • Route policy: internal canvas workspace; no public product domain
  • Preview Worker: sketchi-excalidraw-pr-310
  • Commit: c2bfe33a6ad1
  • Workflow run: https://github.com/shpitdev/sketchi/actions/runs/33561412501

Preview Worker cleanup has completed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant