Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
04c280c
wip
vachmara Dec 27, 2025
be6a205
test: dispatcher timeout set in Node.js
vachmara Dec 27, 2025
80d89ee
chore: make undici optional peer deps
vachmara Dec 27, 2025
b172107
refactor: dynamic import undici
vachmara Dec 27, 2025
622f6ef
Merge branch 'main' into fix/node-fetch-timeout
vachmara Jan 7, 2026
589080c
Merge branch 'main' into fix/node-fetch-timeout
vachmara Jan 12, 2026
41a12cf
Merge branch 'main' into fix/node-fetch-timeout
vachmara Jan 13, 2026
70c324a
Make undici a direct dependency to simplify usage
vachmara Jan 13, 2026
118db76
Merge branch 'main' into fix/node-fetch-timeout
vachmara Jan 23, 2026
db30911
refacor: only call undici agent when timeout > 300s
vachmara Jan 23, 2026
f8b4c20
chore: move to peerDep + update doc
vachmara Jan 23, 2026
476bbff
Merge branch 'main' into fix/node-fetch-timeout
vachmara Jan 27, 2026
95c0da4
refactor: cache node agent
vachmara Jan 27, 2026
c45657f
chore: format + types
vachmara Jan 27, 2026
dcb96a5
fix: package json scripts
vachmara Jan 28, 2026
32c4786
Merge branch 'main' into fix/node-fetch-timeout
vachmara Jan 28, 2026
32927b6
test: update the test to the latest version
vachmara Jan 28, 2026
82af3c9
Merge branch 'main' into fix/node-fetch-timeout
hkt74 Jan 28, 2026
2aaf767
Merge branch 'main' into fix/node-fetch-timeout
hkt74 Jan 29, 2026
2b78c57
Merge branch 'main' into fix/node-fetch-timeout
vachmara Feb 2, 2026
8417444
Merge branch 'main' into fix/node-fetch-timeout
vachmara Feb 6, 2026
b378fb9
Merge branch 'main' into fix/node-fetch-timeout
vachmara Feb 14, 2026
9bbe6fe
Merge branch 'main' into fix/node-fetch-timeout
vachmara Mar 10, 2026
a5e426e
Merge branch 'main' into fix/node-fetch-timeout
vachmara Mar 29, 2026
87861b4
Merge branch 'main' into fix/node-fetch-timeout
vachmara Apr 10, 2026
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
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ To install the SDK, run the following command:
npm install @google/genai
```

### Optional Dependencies

The SDK has optional peer dependencies that enhance functionality in specific scenarios:

- **`undici`** (Node.js only): Required for handling HTTP timeouts longer than 300 seconds. If not installed, long-running requests may fail. Install with `npm install undici`.

- **`@modelcontextprotocol/sdk`**: Required for Model Context Protocol (MCP) server functionality. If not installed, MCP features will not be available.

## Quickstart

The simplest way to get started is to use an API key from
Expand Down
Loading