feat(councils): add preflight, schema-driven outputs, and artifact reporting
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { ModelRouter, ModelTier } from '../../models/router.js';
|
||||
import type { ChatRequest, Message, ModelClient, TokenUsage } from '../../models/types.js';
|
||||
import type { ChatRequest, ChatResponseFormat, Message, ModelClient, TokenUsage } from '../../models/types.js';
|
||||
import type { Session } from '../../session/index.js';
|
||||
import type { ToolRegistry } from '../../tools/registry.js';
|
||||
import type { ToolExecutor } from '../../tools/executor.js';
|
||||
@@ -28,6 +28,8 @@ export interface SubAgentRequest {
|
||||
maxTokens?: number;
|
||||
/** When true, include tools from the toolRegistry in the request. */
|
||||
tools?: boolean;
|
||||
/** Optional provider-level response format request (e.g., JSON schema). */
|
||||
responseFormat?: ChatResponseFormat;
|
||||
}
|
||||
|
||||
/** Result returned from a sub-agent delegation call. */
|
||||
@@ -279,6 +281,7 @@ export class AgentOrchestrator {
|
||||
messages,
|
||||
system: request.systemPrompt,
|
||||
maxTokens: request.maxTokens,
|
||||
responseFormat: request.responseFormat,
|
||||
};
|
||||
|
||||
// Optionally include tools from the registry (filtered by policy)
|
||||
|
||||
Reference in New Issue
Block a user