feat: new onboarding flow (#7266)
This commit is contained in:
+40
-2
@@ -839,9 +839,9 @@
|
||||
"200": {
|
||||
"description": "Custom provider created successfully",
|
||||
"content": {
|
||||
"text/plain": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"type": "string"
|
||||
"$ref": "#/components/schemas/CreateCustomProviderResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1888,6 +1888,26 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/handle_nanogpt": {
|
||||
"post": {
|
||||
"tags": [
|
||||
"super::routes::setup"
|
||||
],
|
||||
"operationId": "start_nanogpt_setup",
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/SetupResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/handle_openrouter": {
|
||||
"post": {
|
||||
"tags": [
|
||||
@@ -4279,6 +4299,17 @@
|
||||
"$ref": "#/components/schemas/Message"
|
||||
}
|
||||
},
|
||||
"CreateCustomProviderResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"provider_name"
|
||||
],
|
||||
"properties": {
|
||||
"provider_name": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"CreateRecipeRequest": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
@@ -6612,6 +6643,13 @@
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The unique identifier for this provider"
|
||||
},
|
||||
"setup_steps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"description": "step-by-step instructions for set up providers eg: api key"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user