Skip to content

fix: intrinsic function signatures #1003

Closed
Closed

Description

@jakelorocco
  1. Guardian intrinsics have function signatures that look like: factuality_correction(context: ChatContext, backend: AdapterMixin, ...). Notably, they do not include a document(s) field like the other intrinsics; they only grab documents from prior messages. We should move them to follow the conventions of the other intrinsics.
  2. We should allow top-level intrinsic functions (like check_answerability and the guardian functions) to take model options now that Intrinsics support all model options (except streaming).

Activity

  1. added
    enhancement
    on May 4, 2026
  2. added theissue type on May 4, 2026
  3. added this to the Release 0.6.0 milestone on May 6, 2026
  4. akihikokuroda commented on May 15, 2026

    @akihikokuroda
    Contributor

    #935 will fix this issue.

  5. planetf1 commented on May 18, 2026

    @planetf1
    Contributor

    Heads-up that this work is now being picked up as part of epic #929 — the closed PR #1028 was the original implementation, but it overlapped enough with the in-flight adapter lifecycle redesign that we agreed to fold it in rather than keep it as a separate PR.

    What's preserved from this issue:

    Linking this issue as a child of #929 to make the relationship explicit. The proposal is currently open as Draft PR #1080 for review; once the gating decisions there are agreed, Phase 1 picks up #1003's concrete work.

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions