mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove chats experiment (#18535)
This commit is contained in:
Generated
+2
-581
@@ -212,250 +212,6 @@
|
||||
|--------------------|
|
||||
| `prebuild_claimed` |
|
||||
|
||||
## aisdk.Attachment
|
||||
|
||||
```json
|
||||
{
|
||||
"contentType": "string",
|
||||
"name": "string",
|
||||
"url": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|---------------|--------|----------|--------------|-------------|
|
||||
| `contentType` | string | false | | |
|
||||
| `name` | string | false | | |
|
||||
| `url` | string | false | | |
|
||||
|
||||
## aisdk.Message
|
||||
|
||||
```json
|
||||
{
|
||||
"annotations": [
|
||||
null
|
||||
],
|
||||
"content": "string",
|
||||
"createdAt": [
|
||||
0
|
||||
],
|
||||
"experimental_attachments": [
|
||||
{
|
||||
"contentType": "string",
|
||||
"name": "string",
|
||||
"url": "string"
|
||||
}
|
||||
],
|
||||
"id": "string",
|
||||
"parts": [
|
||||
{
|
||||
"data": [
|
||||
0
|
||||
],
|
||||
"details": [
|
||||
{
|
||||
"data": "string",
|
||||
"signature": "string",
|
||||
"text": "string",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"mimeType": "string",
|
||||
"reasoning": "string",
|
||||
"source": {
|
||||
"contentType": "string",
|
||||
"data": "string",
|
||||
"metadata": {
|
||||
"property1": null,
|
||||
"property2": null
|
||||
},
|
||||
"uri": "string"
|
||||
},
|
||||
"text": "string",
|
||||
"toolInvocation": {
|
||||
"args": null,
|
||||
"result": null,
|
||||
"state": "call",
|
||||
"step": 0,
|
||||
"toolCallId": "string",
|
||||
"toolName": "string"
|
||||
},
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"role": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|----------------------------|-----------------------------------------------|----------|--------------|-------------|
|
||||
| `annotations` | array of undefined | false | | |
|
||||
| `content` | string | false | | |
|
||||
| `createdAt` | array of integer | false | | |
|
||||
| `experimental_attachments` | array of [aisdk.Attachment](#aisdkattachment) | false | | |
|
||||
| `id` | string | false | | |
|
||||
| `parts` | array of [aisdk.Part](#aisdkpart) | false | | |
|
||||
| `role` | string | false | | |
|
||||
|
||||
## aisdk.Part
|
||||
|
||||
```json
|
||||
{
|
||||
"data": [
|
||||
0
|
||||
],
|
||||
"details": [
|
||||
{
|
||||
"data": "string",
|
||||
"signature": "string",
|
||||
"text": "string",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"mimeType": "string",
|
||||
"reasoning": "string",
|
||||
"source": {
|
||||
"contentType": "string",
|
||||
"data": "string",
|
||||
"metadata": {
|
||||
"property1": null,
|
||||
"property2": null
|
||||
},
|
||||
"uri": "string"
|
||||
},
|
||||
"text": "string",
|
||||
"toolInvocation": {
|
||||
"args": null,
|
||||
"result": null,
|
||||
"state": "call",
|
||||
"step": 0,
|
||||
"toolCallId": "string",
|
||||
"toolName": "string"
|
||||
},
|
||||
"type": "text"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|------------------|---------------------------------------------------------|----------|--------------|-------------------------|
|
||||
| `data` | array of integer | false | | |
|
||||
| `details` | array of [aisdk.ReasoningDetail](#aisdkreasoningdetail) | false | | |
|
||||
| `mimeType` | string | false | | Type: "file" |
|
||||
| `reasoning` | string | false | | Type: "reasoning" |
|
||||
| `source` | [aisdk.SourceInfo](#aisdksourceinfo) | false | | Type: "source" |
|
||||
| `text` | string | false | | Type: "text" |
|
||||
| `toolInvocation` | [aisdk.ToolInvocation](#aisdktoolinvocation) | false | | Type: "tool-invocation" |
|
||||
| `type` | [aisdk.PartType](#aisdkparttype) | false | | |
|
||||
|
||||
## aisdk.PartType
|
||||
|
||||
```json
|
||||
"text"
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Value |
|
||||
|-------------------|
|
||||
| `text` |
|
||||
| `reasoning` |
|
||||
| `tool-invocation` |
|
||||
| `source` |
|
||||
| `file` |
|
||||
| `step-start` |
|
||||
|
||||
## aisdk.ReasoningDetail
|
||||
|
||||
```json
|
||||
{
|
||||
"data": "string",
|
||||
"signature": "string",
|
||||
"text": "string",
|
||||
"type": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|-------------|--------|----------|--------------|-------------|
|
||||
| `data` | string | false | | |
|
||||
| `signature` | string | false | | |
|
||||
| `text` | string | false | | |
|
||||
| `type` | string | false | | |
|
||||
|
||||
## aisdk.SourceInfo
|
||||
|
||||
```json
|
||||
{
|
||||
"contentType": "string",
|
||||
"data": "string",
|
||||
"metadata": {
|
||||
"property1": null,
|
||||
"property2": null
|
||||
},
|
||||
"uri": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|--------------------|--------|----------|--------------|-------------|
|
||||
| `contentType` | string | false | | |
|
||||
| `data` | string | false | | |
|
||||
| `metadata` | object | false | | |
|
||||
| » `[any property]` | any | false | | |
|
||||
| `uri` | string | false | | |
|
||||
|
||||
## aisdk.ToolInvocation
|
||||
|
||||
```json
|
||||
{
|
||||
"args": null,
|
||||
"result": null,
|
||||
"state": "call",
|
||||
"step": 0,
|
||||
"toolCallId": "string",
|
||||
"toolName": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|--------------|--------------------------------------------------------|----------|--------------|-------------|
|
||||
| `args` | any | false | | |
|
||||
| `result` | any | false | | |
|
||||
| `state` | [aisdk.ToolInvocationState](#aisdktoolinvocationstate) | false | | |
|
||||
| `step` | integer | false | | |
|
||||
| `toolCallId` | string | false | | |
|
||||
| `toolName` | string | false | | |
|
||||
|
||||
## aisdk.ToolInvocationState
|
||||
|
||||
```json
|
||||
"call"
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Value |
|
||||
|----------------|
|
||||
| `call` |
|
||||
| `partial-call` |
|
||||
| `result` |
|
||||
|
||||
## coderd.SCIMUser
|
||||
|
||||
```json
|
||||
@@ -579,48 +335,6 @@
|
||||
| `groups` | array of [codersdk.Group](#codersdkgroup) | false | | |
|
||||
| `users` | array of [codersdk.ReducedUser](#codersdkreduceduser) | false | | |
|
||||
|
||||
## codersdk.AIConfig
|
||||
|
||||
```json
|
||||
{
|
||||
"providers": [
|
||||
{
|
||||
"base_url": "string",
|
||||
"models": [
|
||||
"string"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|-------------|-----------------------------------------------------------------|----------|--------------|-------------|
|
||||
| `providers` | array of [codersdk.AIProviderConfig](#codersdkaiproviderconfig) | false | | |
|
||||
|
||||
## codersdk.AIProviderConfig
|
||||
|
||||
```json
|
||||
{
|
||||
"base_url": "string",
|
||||
"models": [
|
||||
"string"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|------------|-----------------|----------|--------------|-----------------------------------------------------------|
|
||||
| `base_url` | string | false | | Base URL is the base URL to use for the API provider. |
|
||||
| `models` | array of string | false | | Models is the list of models to use for the API provider. |
|
||||
| `type` | string | false | | Type is the type of the API provider. |
|
||||
|
||||
## codersdk.APIKey
|
||||
|
||||
```json
|
||||
@@ -1354,97 +1068,6 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
| `one_time_passcode` | string | true | | |
|
||||
| `password` | string | true | | |
|
||||
|
||||
## codersdk.Chat
|
||||
|
||||
```json
|
||||
{
|
||||
"created_at": "2019-08-24T14:15:22Z",
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"title": "string",
|
||||
"updated_at": "2019-08-24T14:15:22Z"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|--------------|--------|----------|--------------|-------------|
|
||||
| `created_at` | string | false | | |
|
||||
| `id` | string | false | | |
|
||||
| `title` | string | false | | |
|
||||
| `updated_at` | string | false | | |
|
||||
|
||||
## codersdk.ChatMessage
|
||||
|
||||
```json
|
||||
{
|
||||
"annotations": [
|
||||
null
|
||||
],
|
||||
"content": "string",
|
||||
"createdAt": [
|
||||
0
|
||||
],
|
||||
"experimental_attachments": [
|
||||
{
|
||||
"contentType": "string",
|
||||
"name": "string",
|
||||
"url": "string"
|
||||
}
|
||||
],
|
||||
"id": "string",
|
||||
"parts": [
|
||||
{
|
||||
"data": [
|
||||
0
|
||||
],
|
||||
"details": [
|
||||
{
|
||||
"data": "string",
|
||||
"signature": "string",
|
||||
"text": "string",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"mimeType": "string",
|
||||
"reasoning": "string",
|
||||
"source": {
|
||||
"contentType": "string",
|
||||
"data": "string",
|
||||
"metadata": {
|
||||
"property1": null,
|
||||
"property2": null
|
||||
},
|
||||
"uri": "string"
|
||||
},
|
||||
"text": "string",
|
||||
"toolInvocation": {
|
||||
"args": null,
|
||||
"result": null,
|
||||
"state": "call",
|
||||
"step": 0,
|
||||
"toolCallId": "string",
|
||||
"toolName": "string"
|
||||
},
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"role": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|----------------------------|-----------------------------------------------|----------|--------------|-------------|
|
||||
| `annotations` | array of undefined | false | | |
|
||||
| `content` | string | false | | |
|
||||
| `createdAt` | array of integer | false | | |
|
||||
| `experimental_attachments` | array of [aisdk.Attachment](#aisdkattachment) | false | | |
|
||||
| `id` | string | false | | |
|
||||
| `parts` | array of [aisdk.Part](#aisdkpart) | false | | |
|
||||
| `role` | string | false | | |
|
||||
|
||||
## codersdk.ConnectionLatency
|
||||
|
||||
```json
|
||||
@@ -1477,77 +1100,6 @@ AuthorizationObject can represent a "set" of objects, such as: all workspaces in
|
||||
| `password` | string | true | | |
|
||||
| `to_type` | [codersdk.LoginType](#codersdklogintype) | true | | To type is the login type to convert to. |
|
||||
|
||||
## codersdk.CreateChatMessageRequest
|
||||
|
||||
```json
|
||||
{
|
||||
"message": {
|
||||
"annotations": [
|
||||
null
|
||||
],
|
||||
"content": "string",
|
||||
"createdAt": [
|
||||
0
|
||||
],
|
||||
"experimental_attachments": [
|
||||
{
|
||||
"contentType": "string",
|
||||
"name": "string",
|
||||
"url": "string"
|
||||
}
|
||||
],
|
||||
"id": "string",
|
||||
"parts": [
|
||||
{
|
||||
"data": [
|
||||
0
|
||||
],
|
||||
"details": [
|
||||
{
|
||||
"data": "string",
|
||||
"signature": "string",
|
||||
"text": "string",
|
||||
"type": "string"
|
||||
}
|
||||
],
|
||||
"mimeType": "string",
|
||||
"reasoning": "string",
|
||||
"source": {
|
||||
"contentType": "string",
|
||||
"data": "string",
|
||||
"metadata": {
|
||||
"property1": null,
|
||||
"property2": null
|
||||
},
|
||||
"uri": "string"
|
||||
},
|
||||
"text": "string",
|
||||
"toolInvocation": {
|
||||
"args": null,
|
||||
"result": null,
|
||||
"state": "call",
|
||||
"step": 0,
|
||||
"toolCallId": "string",
|
||||
"toolName": "string"
|
||||
},
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"role": "string"
|
||||
},
|
||||
"model": "string",
|
||||
"thinking": true
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|------------|----------------------------------------------|----------|--------------|-------------|
|
||||
| `message` | [codersdk.ChatMessage](#codersdkchatmessage) | false | | |
|
||||
| `model` | string | false | | |
|
||||
| `thinking` | boolean | false | | |
|
||||
|
||||
## codersdk.CreateFirstUserRequest
|
||||
|
||||
```json
|
||||
@@ -1812,52 +1364,12 @@ This is required on creation to enable a user-flow of validating a template work
|
||||
## codersdk.CreateTestAuditLogRequest
|
||||
|
||||
```json
|
||||
{
|
||||
"action": "create",
|
||||
"additional_fields": [
|
||||
0
|
||||
],
|
||||
"build_reason": "autostart",
|
||||
"organization_id": "7c60d51f-b44e-4682-87d6-449835ea4de6",
|
||||
"request_id": "266ea41d-adf5-480b-af50-15b940c2b846",
|
||||
"resource_id": "4d5215ed-38bb-48ed-879a-fdb9ca58522f",
|
||||
"resource_type": "template",
|
||||
"time": "2019-08-24T14:15:22Z"
|
||||
}
|
||||
{}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|---------------------|------------------------------------------------|----------|--------------|-------------|
|
||||
| `action` | [codersdk.AuditAction](#codersdkauditaction) | false | | |
|
||||
| `additional_fields` | array of integer | false | | |
|
||||
| `build_reason` | [codersdk.BuildReason](#codersdkbuildreason) | false | | |
|
||||
| `organization_id` | string | false | | |
|
||||
| `request_id` | string | false | | |
|
||||
| `resource_id` | string | false | | |
|
||||
| `resource_type` | [codersdk.ResourceType](#codersdkresourcetype) | false | | |
|
||||
| `time` | string | false | | |
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Property | Value |
|
||||
|-----------------|--------------------|
|
||||
| `action` | `create` |
|
||||
| `action` | `write` |
|
||||
| `action` | `delete` |
|
||||
| `action` | `start` |
|
||||
| `action` | `stop` |
|
||||
| `build_reason` | `autostart` |
|
||||
| `build_reason` | `autostop` |
|
||||
| `build_reason` | `initiator` |
|
||||
| `resource_type` | `template` |
|
||||
| `resource_type` | `template_version` |
|
||||
| `resource_type` | `user` |
|
||||
| `resource_type` | `workspace` |
|
||||
| `resource_type` | `workspace_build` |
|
||||
| `resource_type` | `git_ssh_key` |
|
||||
| `resource_type` | `auditable_group` |
|
||||
None
|
||||
|
||||
## codersdk.CreateTokenRequest
|
||||
|
||||
@@ -2328,19 +1840,6 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
|
||||
"user": {}
|
||||
},
|
||||
"agent_stat_refresh_interval": 0,
|
||||
"ai": {
|
||||
"value": {
|
||||
"providers": [
|
||||
{
|
||||
"base_url": "string",
|
||||
"models": [
|
||||
"string"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"allow_workspace_renames": true,
|
||||
"autobuild_poll_interval": 0,
|
||||
"browser_only": true,
|
||||
@@ -2829,19 +2328,6 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
|
||||
"user": {}
|
||||
},
|
||||
"agent_stat_refresh_interval": 0,
|
||||
"ai": {
|
||||
"value": {
|
||||
"providers": [
|
||||
{
|
||||
"base_url": "string",
|
||||
"models": [
|
||||
"string"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"allow_workspace_renames": true,
|
||||
"autobuild_poll_interval": 0,
|
||||
"browser_only": true,
|
||||
@@ -3221,7 +2707,6 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
|
||||
| `address` | [serpent.HostPort](#serpenthostport) | false | | Deprecated: Use HTTPAddress or TLS.Address instead. |
|
||||
| `agent_fallback_troubleshooting_url` | [serpent.URL](#serpenturl) | false | | |
|
||||
| `agent_stat_refresh_interval` | integer | false | | |
|
||||
| `ai` | [serpent.Struct-codersdk_AIConfig](#serpentstruct-codersdk_aiconfig) | false | | |
|
||||
| `allow_workspace_renames` | boolean | false | | |
|
||||
| `autobuild_poll_interval` | integer | false | | |
|
||||
| `browser_only` | boolean | false | | |
|
||||
@@ -3512,7 +2997,6 @@ CreateWorkspaceRequest provides options for creating a new workspace. Only one o
|
||||
| `workspace-usage` |
|
||||
| `web-push` |
|
||||
| `workspace-prebuilds` |
|
||||
| `agentic-chat` |
|
||||
|
||||
## codersdk.ExternalAuth
|
||||
|
||||
@@ -4152,44 +3636,6 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
|
||||
|-------------------------------|
|
||||
| `REQUIRED_TEMPLATE_VARIABLES` |
|
||||
|
||||
## codersdk.LanguageModel
|
||||
|
||||
```json
|
||||
{
|
||||
"display_name": "string",
|
||||
"id": "string",
|
||||
"provider": "string"
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|----------------|--------|----------|--------------|-------------------------------------------------------------------|
|
||||
| `display_name` | string | false | | |
|
||||
| `id` | string | false | | ID is used by the provider to identify the LLM. |
|
||||
| `provider` | string | false | | Provider is the provider of the LLM. e.g. openai, anthropic, etc. |
|
||||
|
||||
## codersdk.LanguageModelConfig
|
||||
|
||||
```json
|
||||
{
|
||||
"models": [
|
||||
{
|
||||
"display_name": "string",
|
||||
"id": "string",
|
||||
"provider": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|----------|-----------------------------------------------------------|----------|--------------|-------------|
|
||||
| `models` | array of [codersdk.LanguageModel](#codersdklanguagemodel) | false | | |
|
||||
|
||||
## codersdk.License
|
||||
|
||||
```json
|
||||
@@ -6307,7 +5753,6 @@ Git clone makes use of this by parsing the URL from: 'Username for "https://gith
|
||||
| `assign_org_role` |
|
||||
| `assign_role` |
|
||||
| `audit_log` |
|
||||
| `chat` |
|
||||
| `crypto_key` |
|
||||
| `debug_info` |
|
||||
| `deployment_config` |
|
||||
@@ -12269,30 +11714,6 @@ None
|
||||
|---------|-----------------------------------------------------|----------|--------------|-------------|
|
||||
| `value` | array of [codersdk.LinkConfig](#codersdklinkconfig) | false | | |
|
||||
|
||||
## serpent.Struct-codersdk_AIConfig
|
||||
|
||||
```json
|
||||
{
|
||||
"value": {
|
||||
"providers": [
|
||||
{
|
||||
"base_url": "string",
|
||||
"models": [
|
||||
"string"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
| Name | Type | Required | Restrictions | Description |
|
||||
|---------|----------------------------------------|----------|--------------|-------------|
|
||||
| `value` | [codersdk.AIConfig](#codersdkaiconfig) | false | | |
|
||||
|
||||
## serpent.URL
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user