Releases: VoltAgent/voltagent
@voltagent/sdk@2.0.3
Patch Changes
-
#1255
97226deThanks @omeraplak! - Add a VoltOps observability trace list API for loading persisted traces with project keys. -
Updated dependencies [
97226de,faeb4ff]:- @voltagent/core@2.7.4
@voltagent/core@2.7.4
Patch Changes
-
#1255
97226deThanks @omeraplak! - Add a VoltOps observability trace list API for loading persisted traces with project keys. -
#1257
faeb4ffThanks @omeraplak! - Fix workspace search auto-index retry behavior for tenant-aware filesystems that require operation context.
@voltagent/server-hono@2.0.13
Patch Changes
-
#1241
794da98Thanks @truffle-dev! - fix(server-hono): don't double-prefix basePath when Hono already merged it into route.pathWhen a sub-app is mounted via
app.route(basePath, subApp)orapp.basePath(basePath),
Hono's internal_addRoutecallsmergePath(basePath, path)and stores the merged
result inroute.path, while still keepingbasePathon the route as metadata.
extractCustomEndpointsblindly prependedbasePathtoroute.path, so a route
registered as/api/hellowithbasePath: "/api"was logged asGET /api/api/hello
even though Hono served it correctly at/api/hello. Only prependbasePathwhen
route.pathdoes not already include it. -
Updated dependencies [
b4cb089,69b78fd,832f094,99c201b]:- @voltagent/core@2.7.3
- @voltagent/server-core@2.1.16
@voltagent/server-core@2.1.16
Patch Changes
-
#1247
832f094Thanks @omeraplak! - fix(server-core): report requested port conflicts instead of silently switching portsWhen a server provider is configured with an explicit port and that port is already in use, VoltAgent now stops with guidance for configuring a different port instead of automatically binding to another available port. Calls without an explicit port keep the previous automatic fallback behavior.
-
Updated dependencies [
b4cb089,69b78fd,99c201b]:- @voltagent/core@2.7.3
@voltagent/core@2.7.3
Patch Changes
-
#1249
b4cb089Thanks @omeraplak! - fix(core): allow disabling conversation title temperatureConversation title generation now keeps the existing default
temperature: 0, while allowinggenerateTitle.temperature: nullto omit the parameter for reasoning models that do not support temperature. Unsupported temperature warnings are surfaced at warn level with guidance, and title generation failures are logged at warn level instead of debug. -
#1248
69b78fdThanks @omeraplak! - Fix conversation title generation when memory is supplied globally to VoltAgent. -
#1245
99c201bThanks @omeraplak! - Register agents synchronously during VoltAgent construction so getAgent and getAgents can return agents with global defaults before ready resolves.
@voltagent/server-core@2.1.15
Patch Changes
-
#1229
39715f2Thanks @omeraplak! - fix(server-core): publish schema factory required by server-honoPublishes the
createServerCoreSchemasexport used by@voltagent/server-honoto build Swagger
schemas with the active Zod instance. This keepsserver-honoreleases from resolving against a
server-corepackage that does not provide the required runtime export. -
Updated dependencies [
ba8d7e0]:- @voltagent/core@2.7.2
@voltagent/core@2.7.2
Patch Changes
- #1228
ba8d7e0Thanks @omeraplak! - Apply VoltAgent global workspace defaults to agents that are constructed before registration.
@voltagent/serverless-hono@2.0.11
Patch Changes
-
#1218
4860832Thanks @omeraplak! - feat(agent): expose request headers to dynamic agent configurationDynamic
instructions,model, andtoolsfunctions now receive aheadersmap in
DynamicValueOptionswhen an agent is called through the built-in HTTP endpoints. This makes it
possible to configure tenant-aware models and request-scoped tools from headers such as
authorization,x-tenant-id, orx-user-idwithout manually copying them into
options.context.Header names are normalized to lowercase:
const agent = new Agent({ name: "Tenant Agent", instructions: "You are a tenant-aware assistant.", model: ({ headers }) => { return headers?.["x-tenant-id"] === "enterprise" ? "openai/gpt-4o" : "openai/gpt-4o-mini"; }, tools: ({ headers }) => { return headers?.authorization ? [createTenantTool(headers.authorization)] : []; }, });
For direct in-process calls, pass
requestHeaders:await agent.generateText("Hello", { requestHeaders: { authorization: "Bearer token", "x-tenant-id": "tenant-1", }, });
Fixes #1201
-
#1214
fbbdc9eThanks @octo-patch! - fix(serverless-hono): withWaitUntil must not destroy global state when context has no waitUntil -
Updated dependencies [
4860832]:- @voltagent/server-core@2.1.14
@voltagent/server-hono@2.0.12
Patch Changes
-
#1224
8b09874Thanks @omeraplak! - fix(server-hono): generate Swagger schemas with a single Zod instanceBuilt-in Swagger route schemas now reuse the same schema definitions with the Zod instance selected
by server-hono's OpenAPI compatibility layer. This avoids mixing Zod v3/v4 schema instances and
prevents/docfrom failing during OpenAPI generation.
@voltagent/server-hono@2.0.11
Patch Changes
-
#1220
9adf876Thanks @omeraplak! - fix(server-hono): support Zod v4 record schemas in Swagger docsThe built-in tool OpenAPI schemas now use explicit record key and value schemas so Zod v4 does not
produce undefined record value types during Swagger document generation.