Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(deep): configure sse #13

Merged
merged 2 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are now defaulted on (part of the major version break)

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"
}
Loading