Skip to content

refactor: refurbish ai agent example to use more of agent sdk

1383d77
Select commit
Loading
Failed to load commit list.
Merged

Update examples with useSession/useAgent hooks #1242

refactor: refurbish ai agent example to use more of agent sdk
1383d77
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Dec 9, 2025 in 28s

No new alerts in code changed by this pull request

Annotations

Check failure on line 49 in examples/nextjs/pages/agent.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.

Check failure on line 23 in examples/nextjs/pages/audio-only.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.

Check failure on line 32 in examples/nextjs/pages/clubhouse.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.

Check failure on line 34 in examples/nextjs/pages/customize.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.

Check failure on line 26 in examples/nextjs/pages/minimal.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.

Check failure on line 83 in examples/nextjs/pages/processors.tsx

See this annotation in the file changed.

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.