MCPcopy
hub / github.com/janhq/jan / set

Function set

web-app/src/lib/providerCaps.ts:26–27  ·  view source on GitHub ↗
(...c: SamplerCap[])

Source from the content-addressed store, hash-verified

24const CORE_ONLY = new Set<SamplerCap>(['core', 'client_only'])
25
26const set = (...c: SamplerCap[]) =>
27 new Set<SamplerCap>([...CORE_ONLY, ...c])
28
29const OPENAI_STRICT: ProviderCaps = {
30 supported: set('penalties', 'json_schema'),

Calls

no outgoing calls

Tested by 1

pytest_runtest_setupFunction · 0.40