Skip to content

Let plugins call helper inference (BB_INFERENCE) #5414

Closed as not planned
Closed as not planned

Description

@ryanbbrown

Plugins can register an AI service that core calls (experimental_aiServices), but they cannot call core's selected inference service themselves. A plugin that needs one short structured completion (for example, a one-line summary of a thread's latest turn) must either spawn an agent thread, which is slow, or keep its own API key, which duplicates the provider login the user already set up for BB.

Request: a server-side plugin API such as bb.ai.complete({ prompt, outputSchema, model?, timeoutMs }) that routes through BB_INFERENCE / BB_INFERENCE_FALLBACK and returns the parsed object, the same path BB uses for thread titles and commit messages.

Activity

  1. added
    plugins
    on Oct 13, 2026
  2. bb-slop-cop commented on Oct 13, 2026

    @bb-slop-cop
    Contributor

    🚨 SLOP COP 🚨 · new-issue-autopilot

    Applied missing classification: Type: Feature · Priority: Medium · Effort: High · Labels: plugins. No existing classification values were replaced.

    This adds a public plugin capability rather than correcting unexpected behavior. Existing workarounds limit urgency; the new SDK surface requires API design and integration. No reproduction report or pull request: this is not a bug and is outside the simple-fix scope.

  3. SawyerHood commented on Oct 19, 2026

    @SawyerHood
    Collaborator

    Consolidated into #3058 at the maintainer's request. Added the source context, evidence links and any distinct/unverified follow-up scope to the canonical tracker: #3058 (comment)

    Closing this report for tracking consolidation, not as fixed. Please continue investigation and updates in #3058; this report remains linked as original evidence.

    AGENT GENERATED

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

    plugins

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions