Channing Conger
0daffe667a
code_mode: Move exec params from runtime declarations to @pragma ( #14511 )
...
This change moves code_mode exec session settings out of the runtime API
and into an optional first-line pragma, so instead of calling runtime
helpers like set_yield_time() or set_max_output_tokens_per_exec_call(),
the model can write // @exec: {"yield_time_ms": ...,
"max_output_tokens": ...} at the top of the freeform exec source. Rust
now parses that pragma before building the source, validates it, and
passes the values directly in the exec start message to the code-mode
broker, which applies them at session start without any worker-runtime
mutation path. The @openai/code_mode module no longer exposes those
setter functions, the docs and grammar were updated to describe the
pragma form, and the existing code_mode tests were converted to use
pragma-based configuration instead.
2026-03-13 03:27:42 +00:00
..
2026-03-11 12:33:10 -07:00
2026-02-20 23:45:35 -08:00
2026-03-11 12:33:09 -07:00
2026-03-11 12:33:09 -07:00
2026-03-04 04:40:22 +00:00
2026-03-11 23:59:50 -07:00
2026-02-18 09:27:04 -08:00
2026-03-12 17:34:25 -06:00
2026-03-11 12:33:10 -07:00
2026-03-11 17:51:51 -07:00
2026-03-13 03:27:42 +00:00
2026-02-20 23:45:35 -08:00
2026-03-11 12:33:10 -07:00
2026-03-12 23:27:21 +00:00
2026-03-11 20:18:31 -07:00
2026-03-04 04:40:22 +00:00
2026-03-04 04:40:22 +00:00
2026-03-04 04:40:22 +00:00
2026-03-07 02:30:21 +00:00
2026-03-11 20:18:31 -07:00
2025-11-21 22:10:52 +00:00
2026-03-04 04:40:22 +00:00
2026-03-02 20:29:33 -08:00
2026-03-11 12:33:08 -07:00
2026-03-11 14:44:44 -07:00
2026-03-02 20:29:33 -08:00
2025-11-13 17:12:10 -08:00
2025-12-23 19:29:32 -08:00
2026-03-02 20:29:33 -08:00
2026-03-07 03:48:36 -08:00
2026-03-11 12:33:10 -07:00
2026-02-25 15:20:46 -08:00
2026-03-02 20:29:33 -08:00
2026-03-12 16:03:50 -07:00
2026-03-04 04:40:22 +00:00
2026-03-12 16:03:50 -07:00
2026-03-02 20:29:33 -08:00
2026-03-08 19:06:30 -07:00
2026-03-02 20:29:33 -08:00
2026-02-20 23:45:35 -08:00
2026-03-11 20:18:31 -07:00
2026-03-02 11:57:32 +00:00
2026-03-12 16:03:50 -07:00
2026-03-12 19:22:30 -07:00
2026-03-04 04:40:22 +00:00
2026-02-20 23:45:35 -08:00
2025-11-13 17:12:10 -08:00
2026-03-09 22:30:03 -07:00
2026-03-12 16:03:50 -07:00
2026-03-04 04:40:22 +00:00
2026-03-12 16:38:04 -07:00
2026-03-12 16:38:04 -07:00
2026-03-04 04:40:22 +00:00
2026-03-11 20:18:31 -07:00
2026-03-09 11:48:13 -07:00
2026-03-02 20:29:33 -08:00
2026-03-12 16:03:50 -07:00
2026-03-07 03:48:36 -08:00
2026-03-02 20:29:33 -08:00
2026-03-12 16:03:50 -07:00
2026-02-20 23:45:35 -08:00
2026-03-09 19:09:56 +00:00
2026-03-08 13:37:41 -07:00
2026-03-04 04:40:22 +00:00
2026-03-12 16:38:04 -07:00
2026-03-02 20:29:33 -08:00
2026-03-12 16:03:50 -07:00
2026-03-04 04:40:22 +00:00
2026-02-20 23:45:35 -08:00
2026-03-09 22:34:44 -07:00
2026-03-11 12:33:10 -07:00
2025-11-20 11:04:11 -08:00
2026-03-04 04:40:22 +00:00
2026-03-02 20:29:33 -08:00
2026-03-04 04:40:22 +00:00
2026-03-02 20:29:33 -08:00
2026-03-11 12:33:09 -07:00
2026-03-04 04:40:22 +00:00
2026-03-04 04:40:22 +00:00
2026-03-11 20:18:31 -07:00
2026-02-27 16:05:44 +01:00
2026-03-07 02:30:21 +00:00
2026-03-12 16:03:50 -07:00
2026-03-07 00:50:50 +00:00
2026-03-04 04:40:22 +00:00