Skip to content

Commit

Permalink
(deep): configure sse (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-support authored Apr 19, 2024
1 parent f5e69c2 commit bbf00e3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 2 additions & 8 deletions fern/apis/api/generators.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ groups:
python-sdk-local:
generators:
- name: fernapi/fern-python-sdk
version: 0.13.2
version: 1.2.0-rc2
config:
client:
class_name: BaseOctoAI
filename: base_client.py
exported_class_name: OctoAI
exported_filename: client.py
improved_imports: true
pydantic_config:
use_str_enums: true
extra_dependencies:
boto3: "^1.34.75"
types-boto3: "^1.0"
Expand All @@ -22,7 +19,7 @@ groups:
python-sdk:
generators:
- name: fernapi/fern-python-sdk
version: 1.0.0a1
version: 1.2.0-rc2
output:
location: pypi
package-name: "octoai"
Expand All @@ -36,9 +33,6 @@ groups:
filename: base_client.py
exported_class_name: OctoAI
exported_filename: client.py
improved_imports: true
pydantic_config:
use_str_enums: true
extra_dependencies:
boto3: "^1.34.75"
types-boto3: "^1.0"
Expand Down
2 changes: 2 additions & 0 deletions fern/apis/text-gen/openapi/openapi-overrides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ paths:
x-fern-sdk-method-name: createChatCompletion
x-fern-streaming:
stream-condition: $request.stream
format: sse
response:
$ref: "#/components/schemas/ChatCompletionResponse"
response-stream:
Expand All @@ -16,6 +17,7 @@ paths:
x-fern-sdk-method-name: createCompletion
x-fern-streaming:
stream-condition: $request.stream
format: sse
response:
$ref: "#/components/schemas/CompletionResponse"
response-stream:
Expand Down
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.19.21"
"version": "0.23.0-rc0"
}

0 comments on commit bbf00e3

Please sign in to comment.