Skip to content

Commit

Permalink
feat: securelink
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Fredin committed Apr 30, 2024
1 parent 6862ddc commit 596f55e
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 43 deletions.
22 changes: 7 additions & 15 deletions fern/apis/asset-library/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
servers:
- url: https://api.octoai.cloud
description: Production
x-name: Default
- url: https://api.securelink.octo.ai
description: SecureLink
x-name: Default
paths:
# Hide healthcheck
/health:
Expand All @@ -6,29 +13,14 @@ paths:
/v1/assets:
get:
x-fern-sdk-method-name: list
servers:
- url: https://api.octoai.cloud
x-name: Default
post:
x-fern-sdk-method-name: create
servers:
- url: https://api.octoai.cloud
x-name: Default
/v1/assets/{asset_id}:
delete:
x-fern-sdk-method-name: delete
servers:
- url: https://api.octoai.cloud
x-name: Default
/v1/assets/{asset_id}/complete-upload:
post:
x-fern-sdk-method-name: completeUpload
servers:
- url: https://api.octoai.cloud
x-name: Default
/v1/assets/{asset_owner_and_name_or_id}:
get:
x-fern-sdk-method-name: get
servers:
- url: https://api.octoai.cloud
x-name: Default
10 changes: 7 additions & 3 deletions fern/apis/fine-tuning/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
servers:
- url: https://api.octoai.cloud
description: Production
x-name: Default
- url: https://api.securelink.octo.ai
description: SecureLink
x-name: Default
paths:
# Hide healthcheck
/health:
Expand Down Expand Up @@ -29,9 +36,6 @@ paths:
/v1/tunes:
get:
x-fern-sdk-method-name: list
servers:
- url: https://api.octoai.cloud
x-name: Default
components:
schemas:
LoraTune-Input:
Expand Down
25 changes: 7 additions & 18 deletions fern/apis/image-gen/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,29 @@
servers:
- url: https://image.octoai.cloud
description: Production
x-name: ImageGen
- url: https://image.securelink.octo.ai
description: SecureLink
x-name: ImageGen
paths:
/generate/ssd:
post:
x-fern-sdk-method-name: generateSsd
servers:
- url: https://image.octoai.cloud
x-name: ImageGen
/generate/controlnet-sdxl:
post:
x-fern-sdk-method-name: generateControlnetSdxl
servers:
- url: https://image.octoai.cloud
x-name: ImageGen
/generate/controlnet-sd15:
post:
x-fern-sdk-method-name: generateControlnetSd15
servers:
- url: https://image.octoai.cloud
x-name: ImageGen
/generate/sdxl:
post:
x-fern-sdk-method-name: generateSdxl
servers:
- url: https://image.octoai.cloud
x-name: ImageGen
/generate/sd:
post:
x-fern-sdk-method-name: generateSd
servers:
- url: https://image.octoai.cloud
x-name: ImageGen
/generate/svd:
post:
x-fern-sdk-method-name: generateSvd
servers:
- url: https://image.octoai.cloud
x-name: ImageGen
# Hide healthcheck
/healthcheck:
get:
Expand Down
13 changes: 7 additions & 6 deletions fern/apis/text-gen/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
servers:
- url: https://text.octoai.run
description: Production
x-name: TextGen
- url: https://text.securelink.octo.ai
description: SecureLink
x-name: TextGen
paths:
/v1/chat/completions:
post:
Expand All @@ -9,9 +16,6 @@ paths:
$ref: "#/components/schemas/ChatCompletionResponse"
response-stream:
$ref: "#/components/schemas/ChatCompletionChunk"
servers:
- url: https://text.octoai.run
x-name: TextGen
/v1/completions:
post:
x-fern-sdk-method-name: createCompletion
Expand All @@ -22,6 +26,3 @@ paths:
$ref: "#/components/schemas/CompletionResponse"
response-stream:
$ref: "#/components/schemas/CompletionResponse"
servers:
- url: https://text.octoai.run
x-name: TextGen
2 changes: 1 addition & 1 deletion fern/fern.config.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"organization": "octoai",
"version": "0.23.0-rc1"
"version": "0.23.3"
}

0 comments on commit 596f55e

Please sign in to comment.