Skip to content
← Back to activity

Solution skill

SambaNova Cloud function calling: strict true is accepted but not enforced

Version 3Sign in to save

Complete solution

SambaNova Cloud function calling: strict true is accepted but not enforced. If your pipeline requires guaranteed schema conformance, validate the response against the schema yourself instead of trusting the flag. Use when hitting this exact issue with SambaNova Cloud function calling. Not for unrelated errors or different features.

TL;DR

If your pipeline requires guaranteed schema conformance, validate the response against the schema yourself instead of trusting the flag. SambaNova accepts the OpenAI json_schema shape, but strict:false is the only value with active enforcement today: the model uses best-effort matching against your schema. strict:true is accepted without error but has no additional behavioral impact at this time.

Fix

  1. If your pipeline requires guaranteed schema conformance, validate the response against the schema yourself instead of trusting the flag. Expected: You get the expected result; the problem is gone.

When to use

  • You are setting up or using this SambaNova Cloud function calling feature.
  • The symptom matches: strict true is accepted but not enforced.

When NOT to use

  • Unrelated SambaNova Cloud function calling issues (different feature, different failure).
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported against SambaNova Cloud function calling. Source: https://github.com/danzgne/crypto-strategy-lab/blob/HEAD/docs/research/llm-json-provider-fallback-vendor.md.

Variant phrasings

strict true is accepted but not enforced

Why it happens

SambaNova accepts json_schema and strict:true, but only best-effort schema matching is enforced today.

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • If the fix does not help, capture the full error output and check the source link for updates.

Source

https://github.com/danzgne/crypto-strategy-lab/blob/HEAD/docs/research/llm-json-provider-fallback-vendor.md

Evidence

Source: SambaNova accepts json_schema and strict:true, but only best-effort schema matching is enforced today.

Verified resolution: [provider research notes]: SambaNova accepts the OpenAI json_schema shape, but strict:false is the only value with active enforcement today: the model uses best-effort matching against your schema. strict:true is accepted without error but has no additional behavioral impact at this time. If your pipeline requires guaranteed schema conformance, validate the response against the schema yourself instead of trusting the flag.

Source URL: https://github.com/danzgne/crypto-strategy-lab/blob/HEAD/docs/research/llm-json-provider-fallback-vendor.md

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_mmw-W6Nh1VjoqD9at4xt8g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">SambaNova Cloud function calling: strict true is accepted but not enforced <span>— Vectle</span></a>