Skip to content

fix: added readme files and updated timeouts#17

Merged
egenthon-cmd merged 4 commits intomainfrom
fix/add-readme-async
Apr 9, 2026
Merged

fix: added readme files and updated timeouts#17
egenthon-cmd merged 4 commits intomainfrom
fix/add-readme-async

Conversation

@egenthon-cmd
Copy link
Copy Markdown
Contributor

@egenthon-cmd egenthon-cmd commented Apr 9, 2026

increase timeouts for create and delete methods
updated the readme files for python and javascript sdk

Summary by CodeRabbit

  • Documentation
    • Clarified SDK docs (JS & Python): API key and environment variable configuration, region/base URL guidance (restricted regions), tightened runtime requirement to Node.js 20+ or Bun, refreshed pre-recorded and live transcription examples (inputs, polling, async flows, session completion guidance), added docs links and license info.
  • Bug Fixes
    • Increased pre-recorded operation timeouts to improve reliability for longer requests.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 9, 2026

Warning

Rate limit exceeded

@egenthon-cmd has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 16 minutes and 40 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 16 minutes and 40 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 648d3769-d66c-4e73-87f8-5411cf617e2a

📥 Commits

Reviewing files that changed from the base of the PR and between 8962075 and eb8205e.

📒 Files selected for processing (1)
  • packages/sdk-python/README.md
📝 Walkthrough

Walkthrough

Documentation updates in JavaScript and Python SDKs clarify API key and region configuration, require Node.js 20+ or Bun, add detailed pre-recorded and live transcription examples (including explicit audio/session fields), and increase pre-recorded create and delete timeouts from 30s to 60s.

Changes

Cohort / File(s) Summary
JS & Python README updates
packages/sdk-js/README.md, packages/sdk-python/README.md
Rewrote setup/auth guidance to require apiKey / GLADIA_API_KEY and describe GLADIA_API_URL/GLADIA_REGION; added pre-recorded transcription docs (preRecorded().transcribe() / prerecorded().transcribe(...)), async examples, and revised live transcription examples with explicit session/audio init fields.
Timeout defaults
packages/sdk-js/src/client.ts, packages/sdk-python/src/gladiaio_sdk/client_options.py
Increased default PreRecorded V2 HTTP timeouts for create and delete operations from 30 seconds to 60 seconds.
Minor formatting/content
packages/sdk-js/README.md (heading casing, docs/license links)
Adjusted heading case, added Documentation and License (MIT) links, and removed outdated proxy/WebSocket guidance.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 I nibbled notes and sharpened lines,

Timeouts stretched to calmer times,
Readmes trimmed and examples bright,
Sessions start with clearer light,
Hop on—transcribe into the night! 🎧

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title mentions 'added readme files and updated timeouts', which are accurate changes, but the primary focus of the changeset is comprehensive SDK documentation updates (README files for both JS and Python), while timeout adjustments are secondary configuration changes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/add-readme-async

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 3

🧹 Nitpick comments (1)
packages/sdk-python/README.md (1)

35-63: Use one term consistently: “pre-recorded” vs “prerecorded.”

Line 35–63 mixes variants in nearby sections, which makes docs feel inconsistent. Pick one form for headings/body text and keep method names as-is (prerecorded*).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@packages/sdk-python/README.md` around lines 35 - 63, Standardize the wording
to "pre-recorded" in the README body and headings while preserving the actual
SDK method names (`prerecorded()` and `prerecorded_async()`) as-is; update the
heading and any occurrences of "prerecorded" or "prerecorded transcription" in
the prose to "pre-recorded" (e.g., the section title and descriptive sentences)
but do not change or rename the function references `prerecorded().transcribe`
or `prerecorded_async()` in code samples or API mentions.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/sdk-js/README.md`:
- Line 7: Update the README sentence on line 7 to fix grammar and spacing:
change "For non-browser environment, you need either **Node.js 20+** or **Bun**
." to "For non-browser environments, use **Node.js 20+** or **Bun**." so
"environment" becomes plural, remove the extra space before the period, and
prefer "use" for terser wording; modify the exact sentence in README.md
accordingly.
- Around line 136-139: The README's live transcription section incorrectly
references pre-recorded "Audio intelligence" options and links; update the text
under the startSession/live config to describe the correct live-specific options
and remove or replace the pre-recorded Audio Intelligence link. Specifically,
modify the paragraph that tells users to "Pass the **options** argument"
(related to startSession) so it explains which live features and option keys are
supported for startSession (e.g., real-time diarization/translation/PII flags if
available) and point to the correct live-feature docs or a neutral description
of supported live options instead of the pre-recorded Audio Intelligence URL.

In `@packages/sdk-python/README.md`:
- Line 58: The sentence "Pass a **options** as second argument..." is
grammatically incorrect; update the README sentence to use correct article/noun
agreement—either "Pass **options** as the second argument to enable..." or "Pass
**an options object** as the second argument to enable..."—so replace the phrase
in the README (the line containing "Pass a **options** as second argument to
enable all the features...") with one of these corrected alternatives.

---

Nitpick comments:
In `@packages/sdk-python/README.md`:
- Around line 35-63: Standardize the wording to "pre-recorded" in the README
body and headings while preserving the actual SDK method names (`prerecorded()`
and `prerecorded_async()`) as-is; update the heading and any occurrences of
"prerecorded" or "prerecorded transcription" in the prose to "pre-recorded"
(e.g., the section title and descriptive sentences) but do not change or rename
the function references `prerecorded().transcribe` or `prerecorded_async()` in
code samples or API mentions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0682a0e0-6e18-4a1e-8caf-9697c204e1c2

📥 Commits

Reviewing files that changed from the base of the PR and between 2eec840 and 1cc7347.

📒 Files selected for processing (4)
  • packages/sdk-js/README.md
  • packages/sdk-js/src/client.ts
  • packages/sdk-python/README.md
  • packages/sdk-python/src/gladiaio_sdk/client_options.py

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/sdk-python/README.md`:
- Around line 56-58: Fix two minor grammar issues in the README: remove the
extra space before the exclamation in the phrase "See all the [supported
languages](https://docs.gladia.io/chapters/language/supported-languages) here !"
so it reads "here!", and add the article "the" in the sentence that references
options so "Pass the **options** as second argument" becomes "Pass the
**options** as the second argument" (update the line containing the Audio
intelligence link and the options wording).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: da3f2c73-2645-4b97-9e22-4a8c1435af3b

📥 Commits

Reviewing files that changed from the base of the PR and between 1cc7347 and 8962075.

📒 Files selected for processing (2)
  • packages/sdk-js/README.md
  • packages/sdk-python/README.md
🚧 Files skipped from review as they are similar to previous changes (1)
  • packages/sdk-js/README.md

@egenthon-cmd egenthon-cmd merged commit 40b1a40 into main Apr 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants