Package:
@hexos/runtimeParameters for streaming chat completions with the OpenAI provider.
interface OpenAIStreamParams {
client: OpenAI;
input: RuntimeInput;
agent: AgentDefinition;
messageId: string;
currentAgentId: string;
tools?: OpenAI.Chat.Completions.ChatCompletionTool[];
dependencies: ProviderDependencies;
maxIterationsExceededCode: string;
}