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

fix: Refactor API key header and remove streaming #4427

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Conversation

anovazzi1
Copy link
Contributor

This pull request refactors the API key header in the get-js-api-code.tsx file to use the x-api-key header instead of the Authorization header. It also removes the streaming functionality from the initiateSession and runFlow functions. This change improves the code by simplifying the API key handling and removing unnecessary streaming code.

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. javascript Pull requests that update Javascript code labels Nov 6, 2024
@anovazzi1 anovazzi1 requested a review from italojohnny November 6, 2024 18:34
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 6, 2024
@anovazzi1 anovazzi1 enabled auto-merge (squash) November 6, 2024 18:35
@github-actions github-actions bot added the bug Something isn't working label Nov 6, 2024
@anovazzi1 anovazzi1 merged commit 0c049de into main Nov 6, 2024
22 of 30 checks passed
@anovazzi1 anovazzi1 deleted the updateJsCode branch November 6, 2024 18:48
joaoguilhermeS pushed a commit that referenced this pull request Nov 7, 2024
refactor: Update API key header in get-js-api-code.tsx and remove streaming
diogocabral pushed a commit to headlinevc/langflow that referenced this pull request Nov 26, 2024
refactor: Update API key header in get-js-api-code.tsx and remove streaming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working javascript Pull requests that update Javascript code lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants