1package soy.iko.opencode.data.model
3import kotlinx.serialization.Serializable
5/** Body for `POST /session/:id/message`. */
7data class PromptRequest(
8 val parts: List<PromptPart>,
9 val model: ModelRef? = null,
10 val agent: String? = null,
13/** Input parts are a small subset of [Part]; for the scaffold we send text. */
16 val type: String = "text",
20/** Body for `POST /session/:id/command`. */
22data class CommandRequest(
24 val arguments: String = "",
25 val agent: String? = null,
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list