Skip to content
Source
Sign inSign up
TanStack/schemas

Probe maxOutput, contextWindow, replay and mandatory on chat/completions, and run it weekly #730

Mergedtombeckenhammerged 3 commits intomain fromfeat/717-probe-more-factsmerged by tombeckenham View on GitHub

Showing 19 changed files with 94 additions and 0 deletions (loading 16).

x
0 of 19 viewed, 19 left
5 additions and 0 deletions.changeset/probe-more-facts.mdAdded
View file
@@ -0,0 +1,5 @@
+---
+'@modelschemas/client': minor
+---
+​
+`ModelFactSources` gains `reasoningMandatory`: the source of `reasoning.mandatory` when a `probe-verified` record filled it. `maxOutput`, `contextWindow` and `requestMapFields.replayReasoningContent` can now carry a `probe-verified` source with `verifiedAt` too.
89 additions and 0 deletions.source/workflows/probe.tsAdded
View file
@@ -0,0 +1,89 @@
+// Weekly live probes (issue #717). Runs `pnpm run probe -- <provider>
+// --write` for each chat probe provider, and opens a pull request on
+// `probe/weekly` when a record file changed. A person reviews and merges
+// it; nothing here merges. No change, no pull request.
+//
+// Each provider's key is an optional secret: with none, the probe script
+// prints `skip <provider>: <KEY> is not set` and the run goes on. The
+// script caps its own requests (MAX_PROBE_REQUESTS) and never prints a key.
+//
+// Admin setup (people only), one per provider below:
+// src secret set GROQ_API_KEY --env development --host api.groq.com --header Authorization < groq-key.txt
+//
+// Opt a provider in: add it to `chatProbes` in
+// src/server/providers/probes/index.ts, then add its id to PROVIDERS, its
+// key to `secrets` and its API host to `egress` here.
+import {
+ defineWorkflow,