defaultConfig (agents/config-defaults.ts)

QuickVoice · apps/console/src/lib/agents/config-defaults.ts · typescript · MIT
voice, Voice / Speech

Module exposing: defaultConfig, mergeConfig, DEFAULT_SYSTEM_PROMPT, DEFAULT_FIRST_MESSAGE

// Source: https://github.com/allgpt-co/QuickVoice | License: MIT | Copyright 2026 QuickVoice contributors
// Provided via justclaw.it.com; keep this notice with the code.
import type { ConfigureAgentInput } from "@/src/lib/api/resources/agents";
import type { AgentConfiguration } from "@/src/lib/api/types";
import { normalizeAgentVariables } from "@/src/lib/agents/dynamic-variables";

export const DEFAULT_SYSTEM_PROMPT = `You are a helpful voice assistant. Be concise, polite, and on-topic. Confirm details back to the caller before taking any action.`;
export const DEFAULT_FIRST_MESSAGE = `Hi, thanks for calling. How can I help you today?`;

export function defaultConfig(): ConfigureAgentInput {
  return {
    agent_language: "en",
    firstMessage: DEFAULT_FIRST_MESSAGE,
    systemPrompt:

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key