mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add collapsible thinking blocks with configurable display mode (#24635)
This commit is contained in:
Generated
+26
-8
@@ -10323,6 +10323,20 @@ Restarts will only happen on weekdays in this list on weeks which line up with W
|
||||
|-------------------------------------------------------------------------------------|
|
||||
| ``, `fira-code`, `geist-mono`, `ibm-plex-mono`, `jetbrains-mono`, `source-code-pro` |
|
||||
|
||||
## codersdk.ThinkingDisplayMode
|
||||
|
||||
```json
|
||||
"auto"
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Value(s) |
|
||||
|----------------------------------------------------------|
|
||||
| `always_collapsed`, `always_expanded`, `auto`, `preview` |
|
||||
|
||||
## codersdk.TimingStage
|
||||
|
||||
```json
|
||||
@@ -10658,15 +10672,17 @@ Restarts will only happen on weekdays in this list on weeks which line up with W
|
||||
|
||||
```json
|
||||
{
|
||||
"task_notification_alert_dismissed": true
|
||||
"task_notification_alert_dismissed": true,
|
||||
"thinking_display_mode": "auto"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|-------------------------------------|---------|----------|--------------|-------------|
|
||||
| `task_notification_alert_dismissed` | boolean | false | | |
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|-------------------------------------|--------------------------------------------------------------|----------|--------------|-------------|
|
||||
| `task_notification_alert_dismissed` | boolean | false | | |
|
||||
| `thinking_display_mode` | [codersdk.ThinkingDisplayMode](#codersdkthinkingdisplaymode) | false | | |
|
||||
|
||||
## codersdk.UpdateUserProfileRequest
|
||||
|
||||
@@ -11228,15 +11244,17 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
|
||||
```json
|
||||
{
|
||||
"task_notification_alert_dismissed": true
|
||||
"task_notification_alert_dismissed": true,
|
||||
"thinking_display_mode": "auto"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|-------------------------------------|---------|----------|--------------|-------------|
|
||||
| `task_notification_alert_dismissed` | boolean | false | | |
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|-------------------------------------|--------------------------------------------------------------|----------|--------------|-------------|
|
||||
| `task_notification_alert_dismissed` | boolean | false | | |
|
||||
| `thinking_display_mode` | [codersdk.ThinkingDisplayMode](#codersdkthinkingdisplaymode) | false | | |
|
||||
|
||||
## codersdk.UserQuietHoursScheduleConfig
|
||||
|
||||
|
||||
Generated
+6
-3
@@ -1298,7 +1298,8 @@ curl -X GET http://coder-server:8080/api/v2/users/{user}/preferences \
|
||||
|
||||
```json
|
||||
{
|
||||
"task_notification_alert_dismissed": true
|
||||
"task_notification_alert_dismissed": true,
|
||||
"thinking_display_mode": "auto"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1328,7 +1329,8 @@ curl -X PUT http://coder-server:8080/api/v2/users/{user}/preferences \
|
||||
|
||||
```json
|
||||
{
|
||||
"task_notification_alert_dismissed": true
|
||||
"task_notification_alert_dismissed": true,
|
||||
"thinking_display_mode": "auto"
|
||||
}
|
||||
```
|
||||
|
||||
@@ -1345,7 +1347,8 @@ curl -X PUT http://coder-server:8080/api/v2/users/{user}/preferences \
|
||||
|
||||
```json
|
||||
{
|
||||
"task_notification_alert_dismissed": true
|
||||
"task_notification_alert_dismissed": true,
|
||||
"thinking_display_mode": "auto"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user