Add market watch and match hub workflows
这个提交包含在:
@@ -70,6 +70,8 @@ export type InvokeParams = {
|
||||
output_schema?: OutputSchema;
|
||||
responseFormat?: ResponseFormat;
|
||||
response_format?: ResponseFormat;
|
||||
timeoutMs?: number;
|
||||
retryCount?: number;
|
||||
};
|
||||
|
||||
export type ToolCall = {
|
||||
@@ -286,6 +288,8 @@ export async function invokeLLM(params: InvokeParams): Promise<InvokeResult> {
|
||||
output_schema,
|
||||
responseFormat,
|
||||
response_format,
|
||||
timeoutMs,
|
||||
retryCount,
|
||||
} = params;
|
||||
|
||||
const payload: Record<string, unknown> = {
|
||||
@@ -332,8 +336,8 @@ export async function invokeLLM(params: InvokeParams): Promise<InvokeResult> {
|
||||
},
|
||||
body: JSON.stringify(payload),
|
||||
}, {
|
||||
timeoutMs: ENV.llmTimeoutMs,
|
||||
retries: ENV.llmRetryCount,
|
||||
timeoutMs: timeoutMs ?? ENV.llmTimeoutMs,
|
||||
retries: retryCount ?? ENV.llmRetryCount,
|
||||
retryMethods: ["POST"],
|
||||
});
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户