You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] Document GitHub issue references (#) autocomplete and inline expansion in chat #138
The CLI chat interface now supports GitHub issue references. Typing # in the
chat input opens a dropdown of the current repository's open issues (resolved by
the gh CLI from the repo's git remote, newest first). Selecting an issue inserts
a highlighted #N token; on submit, the token is expanded inline into the
issue's title, body, and recent comments before the message is sent to the LLM,
so the agent works from full context without a redundant gh issue view lookup.
The feature gracefully no-ops when gh is not installed, the repo has no remote,
or auth has expired (the dropdown simply shows nothing).
Shipped in inference-gateway/cli PR #574 (closes issue #573); not yet reflected
on the docs site.
Affected pages:
cli.md -> "Core Commands" > "Chat Interface Features": add the # issue
references capability (dropdown of open issues, selection/highlight, inline
expansion on submit).
Note the gh CLI prerequisite and the graceful no-op behavior.
Acceptance Criteria
cli.md documents the # GitHub issue reference autocomplete (dropdown of
open issues resolved via the gh CLI)
Behavior described: selecting inserts a highlighted #N token, expanded on
submit into the issue title, body, and recent comments
Prerequisite (gh CLI installed and authenticated, repo has a remote) and
graceful no-op behavior noted
Run lint/format checks (format:check + lint:md pass) and build (SSR output verified)
Commit changes and open a PR
Summary
Added a GitHub Issue References (#) subsection to cli.md under Core Commands -> Chat Interface Features, plus a one-line entry in the Capabilities list. The docs cover:
The # autocomplete dropdown of the current repo's open issues (number, title, state), resolved via the gh CLI from the git remote, newest first.
Selecting an issue inserts a highlighted #N token, expanded inline on submit into the issue title, body, and most recent comments (up to the latest 20) so the agent has full context without a redundant gh issue view.
The prerequisite (gh installed + authenticated, repo has a remote) and the graceful no-op when gh is missing, there is no git repo/remote, or auth has expired.
I verified the behavior against the merged upstream PR before writing (newest-first ordering, the 20-comment cap, and the no-op paths all come from the implementation, not just the issue text). npm run format:check, npm run lint:md, and npm run build all pass, and the new section is present in the server-rendered HTML.
Activity
edenreich commentedon Jun 1, 2026
@claude Can you document it? use /maintainer
claude commentedon Jun 1, 2026
Claude finished @edenreich's task in 4m 25s —— View job •
docs/issue-138-20260601-2327• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-138-20260601-2327?quick_pull=1&title=Issue%20%23138%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23138%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting GitHub issue references in CLI chat
cli.mdand locate the "Chat Interface Features" section#issue reference autocomplete (dropdown of open issues via gh CLI)format:check+lint:mdpass) andbuild(SSR output verified)Summary
Added a GitHub Issue References (
#) subsection tocli.mdunder Core Commands -> Chat Interface Features, plus a one-line entry in the Capabilities list. The docs cover:#autocomplete dropdown of the current repo's open issues (number, title, state), resolved via theghCLI from the git remote, newest first.#Ntoken, expanded inline on submit into the issue title, body, and most recent comments (up to the latest 20) so the agent has full context without a redundantgh issue view.ghinstalled + authenticated, repo has a remote) and the graceful no-op whenghis missing, there is no git repo/remote, or auth has expired.I verified the behavior against the merged upstream PR before writing (newest-first ordering, the 20-comment cap, and the no-op paths all come from the implementation, not just the issue text).
npm run format:check,npm run lint:md, andnpm run buildall pass, and the new section is present in the server-rendered HTML.PR: #139
| Branch:
docs/issue-138-20260601-2327