@theoremjs/react 0.3.4-next.715.geef22fd → 0.3.4-next.721.g7ff150a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -371,6 +371,8 @@ Three more props give the call values from the page. The profile declares each o
|
|
|
371
371
|
|
|
372
372
|
`stated` is a fourth prop, for a page you trust as yourself. It says the `path` and `conditions` that choose the call's prompt lines, and the server reads it only with `pageStatesTurn` set. A change during a call takes the call up again, as a slot does. `TheoremChat` takes the same prop, on each turn.
|
|
373
373
|
|
|
374
|
+
`model` and `effort` pick the call's model when the profile sets `allowModelSelect`. They are read when the call starts.
|
|
375
|
+
|
|
374
376
|
```tsx
|
|
375
377
|
<LiveRunner
|
|
376
378
|
iface={iface}
|
|
@@ -79,6 +79,8 @@ export function useLiveRunnerModel(iface, connection, options = {}) {
|
|
|
79
79
|
const { clientRef, ensureClient, clearClient } = useLiveSessionClient({
|
|
80
80
|
slots: options.slots,
|
|
81
81
|
stated: options.stated,
|
|
82
|
+
model: options.model,
|
|
83
|
+
effort: options.effort,
|
|
82
84
|
context: options.context,
|
|
83
85
|
pageTools: options.pageTools,
|
|
84
86
|
voiceAvailable,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theoremjs/react",
|
|
3
|
-
"version": "0.3.4-next.
|
|
3
|
+
"version": "0.3.4-next.721.g7ff150a",
|
|
4
4
|
"description": "React bindings for Theorem: headless hooks + transport, an Astryx chat UI, and a Web-standard server handler.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"@stylexjs/stylex": "0.19.0",
|
|
61
61
|
"react": "^19.0.0",
|
|
62
62
|
"react-dom": "^19.0.0",
|
|
63
|
-
"@theoremjs/agents": "^0.3.4-next.
|
|
64
|
-
"@theoremjs/web": "^0.3.4-next.
|
|
63
|
+
"@theoremjs/agents": "^0.3.4-next.721.g7ff150a",
|
|
64
|
+
"@theoremjs/web": "^0.3.4-next.721.g7ff150a"
|
|
65
65
|
},
|
|
66
66
|
"peerDependenciesMeta": {
|
|
67
67
|
"@astryxdesign/core": {
|