Skip to content

[DOCS] Document infer-action system prompt override semantics (replaces CLI base prompt, dynamic context appended) #355

Closed

Description

@edenreich

Summary

infer-action PR inference-gateway/infer-action#177 restores the agent system prompt delivery (it was silently dropped since CLI v0.105.0) and clarifies the prompt-override semantics. The infer-action docs need to reflect:

  • A system-prompt-issue / system-prompt-pr / system-prompt-pr-fork / system-prompt-direct input REPLACES the action's bundled prompt (unchanged), and the resulting prompt replaces the CLI's base system prompt text.
  • The CLI still appends its dynamic context block (skills, memory, tools, sandbox, bash allow-list info) because the action pins INFER_AGENT_SYSTEM_PROMPT_WITH_DEFAULTS=true.
  • Claude Code subscription mode now receives the action's instructions via INFER_PROMPTS_AGENT_SYSTEM_PROMPT_CLAUDE_CODE (appended to Claude Code's own prompt).

Affected pages: the infer-action inputs reference / GitHub Action guide (wherever the system-prompt-* inputs are documented).

Acceptance Criteria

Activity

  1. added
    documentation
    on Jul 6, 2026
  2. added theissue type on Jul 6, 2026
  3. moved this to Todo in 2026on Jul 6, 2026
  4. edenreich commented on Jul 6, 2026

    @edenreich
    ContributorAuthor

    @infer Can you work on this?

  5. inference-gateway-maintainer commented on Jul 6, 2026

    @inference-gateway-maintainer
    Contributor

    Model: ollama_cloud/deepseek-v4-flash · View Job

    Todos

    Pull Request

    #357

    ✅ Infer Result: Success

    All acceptance criteria are met - the changes are committed and pushed to the draft PR.

    Model: ollama_cloud/deepseek-v4-flash · Exit Code: 0 · Duration: 3m 10s

    Tokens: 2,553,716 in · 7,063 out · 2,560,779 total (36 requests)

    Tool calls: 38 total · 95% success rate

    ⚠️ 2 failed tool call(s)
    • Bash: exit status 1: Unknown JSON field: "defaultBranch"
      Available fields:
      archivedAt
      assignableUsers
      codeOfConduct
      contactLinks
      createdAt
      defaultBranchRef
      deleteBranchOnMerge
      description
      diskUsage
      forkCount
      fundingLinks
      hasDiscussionsEnabled
      hasIssuesEnabled
      hasProjectsEnabled
      hasWikiEnabled
      homepageUrl
      id
      isArchived
      isBlankIssuesEnabled
      isEmpty
      isFork
      isInOrganization
      isMirror
      isPrivate
      isSecurityPolicyEnabled
      isTemplate
      isUserConfigurationRepository
      issueTemplates
      issues
      labels
      languages
      latestRelease
      licenseInfo
      mentionableUsers
      mergeCommitAllowed
      milestones
      mirrorUrl
      name
      nameWithOwner
      openGraphImageUrl
      owner
      parent
      primaryLanguage
      projects
      projectsV2
      pullRequestTemplates
      pullRequests
      pushedAt
      rebaseMergeAllowed
      repositoryTopics
      securityPolicyUrl
      squashMergeAllowed
      sshUrl
      stargazerCount
      templateRepository
      updatedAt
      url
      usesCustomOpenGraphImage
      viewerCanAdminister
      viewerDefaultCommitEmail
      viewerDefaultMergeMethod
      viewerHasStarred
      viewerPermission
      viewerPossibleCommitEmails
      viewerSubscription
      visibility
      watchers
    • Bash: exit status 1: pull request create failed: GraphQL: No commits between main and fix/issue-355 (createPullRequest)

    Triggered by edenreich · Infer Action

  6. moved this from Todo to In progress in 2026on Jul 6, 2026
  7. moved this from In progress to QA in 2026on Jul 6, 2026
  8. moved this from QA to Done in 2026on Jul 6, 2026
  9. inference-gateway-releaser commented on Jul 9, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions