(thinking: ThinkingConfig, rawThinking: unknown)
| 584 | } |
| 585 | |
| 586 | function thinkingToToml(thinking: ThinkingConfig, rawThinking: unknown): Record<string, unknown> { |
| 587 | const out = cloneRecord(rawThinking); |
| 588 | delete out['mode']; |
| 589 | for (const [key, value] of Object.entries(thinking)) { |
| 590 | setDefined(out, camelToSnake(key), value); |
| 591 | } |
| 592 | return out; |
| 593 | } |
| 594 | |
| 595 | function permissionToToml( |
| 596 | permission: PermissionConfig, |
nothing calls this directly
no test coverage detected