Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
3afeb2e
Enhance backend configuration to support Ollama as a text generation …
jbax1899 Mar 26, 2026
5f7f9db
Enhance execution context handling in chat services by introducing a …
jbax1899 Mar 26, 2026
43f270a
Enhance execution context in chat services by introducing structured …
jbax1899 Mar 26, 2026
152528a
Enhance chat orchestrator and planner with detailed telemetry comment…
jbax1899 Mar 26, 2026
a3461d4
Implement chat profiles endpoint and related functionality. Add GET /…
jbax1899 Mar 26, 2026
5a7bb96
Update model profiles configuration to enhance OpenAI and Ollama prof…
jbax1899 Mar 26, 2026
7b43fcb
Refactor Discord bot configuration to support multi-guild command dep…
jbax1899 Mar 26, 2026
df2f458
Implement retry logic for fetching chat profiles in Discord bot. Enha…
jbax1899 Mar 26, 2026
42782dc
Refactor chat orchestrator and profile overlay handling to improve pr…
jbax1899 Mar 27, 2026
eb12ebb
Enhance VoltAgent runtime to support Ollama provider configuration. I…
jbax1899 Mar 27, 2026
f046d28
Update chat command test to include responseId in postTraceCardFromTr…
jbax1899 Mar 27, 2026
1f9f809
Enhance VoltAgent runtime to include detailed Ollama provider configu…
jbax1899 Mar 27, 2026
6c6ee26
Update Cache-Control header in createChatProfilesHandler to 'no-store…
jbax1899 Mar 27, 2026
c568ee2
Refactor totalDurationMs calculation in chatOrchestrator to prevent m…
jbax1899 Mar 27, 2026
99e417b
Implement error handling and logging for guild command deployments in…
jbax1899 Mar 27, 2026
48dd46d
Refactor model profile catalog tests to include error handling for te…
jbax1899 Mar 27, 2026
0fc2198
Add parseBooleanFlag function to parsers.ts for flexible boolean parsing
jbax1899 Mar 27, 2026
9fe9abb
Update planner-selected profile ID in chatOrchestrator test to use ru…
jbax1899 Mar 27, 2026
b924898
Update truncateDescription function to adjust the maximum length of t…
jbax1899 Mar 27, 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: 6 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
# Discord bot credentials (required)
DISCORD_TOKEN= # Discord bot token
DISCORD_CLIENT_ID= # Discord application client ID
DISCORD_GUILD_ID= # Discord server (guild) ID
DISCORD_GUILD_IDS= # Preferred: comma-separated Discord server (guild) IDs for slash-command deployment
DISCORD_GUILD_ID= # Legacy fallback: single Discord server (guild) ID
DISCORD_USER_ID= # Discord user ID granted privileged access (owner-only actions, rate-limit bypass)
DISCORD_SUPERUSER_IDS= # Optional comma-separated Discord user IDs allowed to review incidents; falls back to DISCORD_USER_ID when unset
OPENAI_API_KEY=
OPENAI_API_KEY= # Optional when using only Ollama-backed text profiles
OLLAMA_BASE_URL= # Optional Ollama endpoint (local daemon or cloud URL)
OLLAMA_API_KEY= # Optional for Ollama cloud endpoints that require auth
OLLAMA_LOCAL_INFERENCE_ENABLED=false # Set true to allow localhost/loopback Ollama targets
# Optional VoltOps tracing for VoltAgent runtime observability
# Enable by setting both keys together; leave both empty to keep tracing disabled.
# Get these from VoltOps project settings (console.voltagent.dev -> Settings -> Projects -> <project>).
Expand Down
59 changes: 59 additions & 0 deletions docs/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ openapi: 3.1.0
# Quick Map
# - POST /api/chat: Chat (public; Turnstile + rate limits when configured)
# - OPTIONS /api/chat: CORS preflight
# - GET /api/chat/profiles: Enabled chat profile options (public)
# - POST /api/internal/text: Trusted internal text task execution
# - POST /api/internal/image: Trusted internal image task execution
# - POST /api/internal/voice/tts: Trusted internal voice TTS execution
Expand Down Expand Up @@ -138,6 +139,29 @@ paths:
'204':
$ref: '#/components/responses/PreflightAccepted'

/api/chat/profiles:
get:
operationId: getChatProfiles
x-codeRefs:
- packages/backend/src/handlers/chatProfiles.ts#createChatProfilesHandler
- packages/api-client/src/chat.ts#createChatApi
- packages/contracts/src/web/types.ts#GetChatProfilesResponse
summary: List enabled chat profile options
description: |
Returns enabled chat profile ids for model/profile switching UX.
This endpoint is public-safe and excludes provider secrets/internal config.
tags:
- Chat
responses:
'200':
description: Enabled chat profile options.
content:
application/json:
schema:
$ref: '#/components/schemas/ChatProfilesResponse'
'405':
$ref: '#/components/responses/MethodNotAllowed'

/api/internal/text:
post:
operationId: postInternalTextTask
Expand Down Expand Up @@ -1371,6 +1395,16 @@ components:
type: string
pattern: '^[a-z0-9][a-z0-9-]{0,31}$'
description: Optional profile selector resolved by backend prompt composition.
generation:
type: object
properties:
reasoningEffort:
type: string
enum: [minimal, low, medium, high]
verbosity:
type: string
enum: [low, medium, high]
additionalProperties: false
trigger:
type: object
properties:
Expand Down Expand Up @@ -1428,6 +1462,31 @@ components:
- conversation
additionalProperties: false

ChatProfileOption:
type: object
properties:
id:
type: string
minLength: 1
description:
type: string
minLength: 1
required:
- id
additionalProperties: false

ChatProfilesResponse:
type: object
properties:
profiles:
type: array
maxItems: 100
items:
$ref: '#/components/schemas/ChatProfileOption'
required:
- profiles
additionalProperties: false

ChatResponse:
discriminator:
propertyName: action
Expand Down
Loading
Loading