fix(llm): honor output ceiling in both passes - #75
Merged
Conversation
Forward the resolved max-output-token ceiling to pass 1 as well as pass 2 so large directory trees can use the documented CLI or environment override. Keep input admission independent and document the per-pass behavior. Co-Authored-By: Codex <noreply@openai.com>
Disable commit signing only for disposable repositories created by provenance tests so the offline suite does not depend on a users global Git config or GPG agent. Co-Authored-By: Codex <noreply@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
max_output_tokensceiling to both pass-1 and pass-2 LLM requestsThe pass-1 omission caused large repositories such as n8n to stop at the hard-coded 128000-token default even when
--max-output-tokens 262000orGRAPHLM_MAX_OUTPUT_TOKENS=262000was supplied.Closes #73
Closes #74
Verification
.venv/bin/pytest -q— 789 passed, 8 skipped, 2 collection warnings.venv/bin/mypy graphlm --ignore-missing-imports— success across 31 source files[262000, 262000](previously[128000, 262000])git diff --check origin/main...HEAD— cleanPost-merge
Publish in the next patch release so installed 0.4.1 users can receive the fix with
graphlm --upgrade.🤖 Generated with Codex