set_config_option

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Example: Session.SetConfigOption routes session/set_config_option for arbitrary config ids reported by opencode at session creation. SetModel / SetMode are convenience wrappers over this for the two common cases.

Run with `go run ./examples/set_config_option`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL