Chat streams an assistant response on the returned channel, closing it when the stream ends. Reasoning runs at `high` effort by default; if the server rejects the tools + reasoning_effort combo (newer OpenAI models do), postChat drops reasoning_effort for this Client's lifetime so the model still wo
(parent context.Context, messages []chmctx.Message, tools []Tool)
| 284 | |
| 285 | // ProbeResult holds what Probe extracts from a one-shot hello request: the |
| 286 | // live context window and budget snapshot. The TUI shows the real window at |
| 287 | // activation time and feeds the authoritative size to ctx.Pack instead of the |
| 288 | // config.yaml fallback. |
| 289 | type ProbeResult struct { |
| 290 | ContextWindow int |
| 291 | Budget cloud.BudgetStatus |
| 292 | } |
| 293 |