Skip to content

Commit

Permalink
(feat): configure sse
Browse files Browse the repository at this point in the history
  • Loading branch information
dsinghvi committed Apr 19, 2024
1 parent f5e69c2 commit 3b81dc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 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-rc0
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 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 3b81dc7

Please sign in to comment.