Skip to content

How do you handle invalid JSON / schema mismatch — retry or hard stop? #16

@Zi-Ling

Description

@Zi-Ling

I’m experimenting with local LLM function calling
and noticed that invalid JSON or partial schema matches
are pretty common failure modes.

One thing we found in practice is that retrying after
a schema / validation failure often makes things worse,
because corrupted arguments leak into subsequent steps.

I’m curious about the intended boundary here in this project:

  • Are schema mismatches considered retryable?
  • Or should they be treated as hard stop conditions?

Would love to understand the design philosophy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions