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

c# improvement: text responses + inlined request body inheritance #4172

Merged

Conversation

dcb6
Copy link
Contributor

@dcb6 dcb6 commented Aug 1, 2024

No description provided.


namespace SeedExtends;

public record Inlined
Copy link
Contributor Author

Choose a reason for hiding this comment

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

inlined request body inheritance example

@@ -26,6 +26,10 @@ public async Task GetTextAsync(RequestOptions? options = null)
}
);
var responseBody = await response.Raw.Content.ReadAsStringAsync();
if (response.StatusCode is >= 200 and < 400)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

text response example

@dcb6 dcb6 marked this pull request as ready for review August 1, 2024 02:39
@dcb6 dcb6 requested a review from dsinghvi as a code owner August 1, 2024 02:39
@dcb6 dcb6 merged commit dc3fabc into main Aug 1, 2024
31 of 33 checks passed
@dcb6 dcb6 deleted the burke/fer-2611-assemblyai-getsubtitlesasync-returns-an-empty-task branch August 1, 2024 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants