You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
535 B
12 lines
535 B
import type { SessionDefaults } from './session.js';
|
|
|
|
/**
|
|
* Server-owned session policy shared by the dev-mode Vite plugin and the
|
|
* production custom server, so both environments start sessions identically.
|
|
* A real client project will likely replace this with its own
|
|
* persona/instructions, possibly per-route rather than a single constant.
|
|
*/
|
|
export const DEFAULT_SESSION_DEFAULTS: SessionDefaults = {
|
|
model: 'gpt-realtime',
|
|
instructions: 'You are a helpful voice assistant for a webavatar demo. Keep responses concise.'
|
|
};
|
|
|