mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
- Voice layer manifest (src/voice/layerManifest.js) generates the layer enums, aliases and analyst field hints; a test fails when a catalog layer has no entry. - analyst_query validates fields, operators, units, values and scopes, counts up to 250,000 loaded records per layer, reports complete/partial/unanswered, tells LAYER_OFF / NOT_READY / FEED_UNAVAILABLE apart from zero, refuses mismatched follow-ups and never lets a superseded query replace follow-up memory. Seven more layers expose analyst records. - Tool results carry a code-built say line and a display card; the voice card in the mic control shows captions, plan steps and the result (src/voice/resultDisplay.js is the one adapter). Slow tools narrate their current step out of band; holding Space while the assistant talks cuts it off. Turn spans go to the debug log; caption transcription is metered; the log omits what was said unless GEV_VOICE_LOG_CONTENT=1. - Point and ask: the Space-down pointer snapshot resolves "this", "that one" and "around here" through 'pointer' targets, and "the second one" through referent:n from the last numbered list. - Prompt states each policy once (instructions + tools 48.5k -> 46.7k chars). - Voice benchmark harness (scripts/qa-voice-bench.mjs, scripts/voice-bench/) shares its phrase table and grading with scripts/qa-voice-routing.mjs.
32 lines
1.1 KiB
JavaScript
32 lines
1.1 KiB
JavaScript
import { VOICE_MODELS } from '../../../src/voice/voiceCost.js';
|
|
|
|
// Sourced from the shared voice-model registry so the client's cost estimate
|
|
// can never be computed against a different model than the session runs on.
|
|
const OPENAI_REALTIME_MODEL_DEFAULT = VOICE_MODELS.standard.id;
|
|
|
|
const OPENAI_REALTIME_MODEL_MINI_DEFAULT = VOICE_MODELS.mini.id;
|
|
|
|
const OPENAI_REALTIME_VOICE_DEFAULT = 'marin';
|
|
|
|
const OPENAI_REALTIME_REASONING_DEFAULT = 'low';
|
|
|
|
const OPENAI_REALTIME_CONTEXT_TOKENS_DEFAULT = 3000;
|
|
|
|
const OPENAI_REALTIME_CONTEXT_RETENTION_DEFAULT = 0.5;
|
|
|
|
const OPENAI_HUD_SUMMARY_MODEL_DEFAULT = 'gpt-5-nano';
|
|
|
|
/** Input transcription for voice captions; OPENAI_REALTIME_TRANSCRIBE_MODEL=off disables it. */
|
|
const OPENAI_REALTIME_TRANSCRIBE_MODEL_DEFAULT = 'gpt-4o-mini-transcribe';
|
|
|
|
export {
|
|
OPENAI_HUD_SUMMARY_MODEL_DEFAULT,
|
|
OPENAI_REALTIME_MODEL_MINI_DEFAULT,
|
|
OPENAI_REALTIME_MODEL_DEFAULT,
|
|
OPENAI_REALTIME_VOICE_DEFAULT,
|
|
OPENAI_REALTIME_REASONING_DEFAULT,
|
|
OPENAI_REALTIME_CONTEXT_TOKENS_DEFAULT,
|
|
OPENAI_REALTIME_CONTEXT_RETENTION_DEFAULT,
|
|
OPENAI_REALTIME_TRANSCRIBE_MODEL_DEFAULT,
|
|
};
|