ds_api/raw/request/thinking.rs
1use serde::{Deserialize, Serialize};
2
3#[derive(Debug, Serialize, Deserialize)]
4pub struct Thinking {
5 /// If set to `enabled`, the thinking (reasoning) mode will be used. If set to `disabled`, the non-thinking mode will be used.
6 pub r#type: ThinkingType,
7}
8
9#[derive(Debug, Serialize, Deserialize)]
10#[serde(rename_all = "lowercase")]
11pub enum ThinkingType {
12 Disabled,
13 Enabled,
14}