add more workflow examples #204
Open
Annotations
10 errors and 1 notice
|
Test:
example/convex/workflows/routing.ts#L122
Type '{ text: string; promptMessageId: string | undefined; order: number | undefined; finishReason: LanguageModelV2FinishReason; warnings: LanguageModelV2CallWarning[] | undefined; savedMessageIds: string[]; }' is not assignable to type 'string'.
|
|
Test:
example/convex/workflows/routing.ts#L113
Object literal may only specify known properties, and 'leadId' does not exist in type '{ userId?: string | undefined; threadId?: string | undefined; providerOptions?: Record<string, Record<string, any>> | undefined; system?: string | undefined; messages?: ({ ...; } | ... 2 more ... | { ...; })[] | undefined; ... 8 more ...; callSettings?: { ...; } | undefined; }'.
|
|
Test:
example/convex/workflows/routing.ts#L109
Type '{ text: string; promptMessageId: string | undefined; order: number | undefined; finishReason: LanguageModelV2FinishReason; warnings: LanguageModelV2CallWarning[] | undefined; savedMessageIds: string[]; }' is not assignable to type 'string'.
|
|
Test:
example/convex/workflows/routing.ts#L103
Property 'createSalesLead' does not exist on type '{ routingWorkflow: FunctionReference<"mutation", "internal", { fn: "You should not call this directly, call workflow.start instead"; args: { threadId: string; userMessage: string; }; }, { metadata: any; response: string; intent: string; }, string | undefined>; ... 4 more ...; handleGeneralQuestion: FunctionReference...'.
|
|
Test:
example/convex/workflows/routing.ts#L94
Object literal may only specify known properties, and 'ticketId' does not exist in type '{ userId?: string | undefined; threadId?: string | undefined; providerOptions?: Record<string, Record<string, any>> | undefined; system?: string | undefined; messages?: ({ ...; } | ... 2 more ... | { ...; })[] | undefined; ... 8 more ...; callSettings?: { ...; } | undefined; }'.
|
|
Test:
example/convex/workflows/routing.ts#L90
Type '{ text: string; promptMessageId: string | undefined; order: number | undefined; finishReason: LanguageModelV2FinishReason; warnings: LanguageModelV2CallWarning[] | undefined; savedMessageIds: string[]; }' is not assignable to type 'string'.
|
|
Test:
example/convex/workflows/routing.ts#L84
Property 'createSupportTicket' does not exist on type '{ routingWorkflow: FunctionReference<"mutation", "internal", { fn: "You should not call this directly, call workflow.start instead"; args: { threadId: string; userMessage: string; }; }, { metadata: any; response: string; intent: string; }, string | undefined>; ... 4 more ...; handleGeneralQuestion: FunctionReference...'.
|
|
Test:
example/convex/workflows/routing.ts#L74
Object literal may only specify known properties, and 'ticketId' does not exist in type '{ userId?: string | undefined; threadId?: string | undefined; providerOptions?: Record<string, Record<string, any>> | undefined; system?: string | undefined; messages?: ({ ...; } | ... 2 more ... | { ...; })[] | undefined; ... 8 more ...; callSettings?: { ...; } | undefined; }'.
|
|
Test:
example/convex/workflows/routing.ts#L70
Type '{ text: string; promptMessageId: string | undefined; order: number | undefined; finishReason: LanguageModelV2FinishReason; warnings: LanguageModelV2CallWarning[] | undefined; savedMessageIds: string[]; }' is not assignable to type 'string'.
|
|
Test:
example/convex/workflows/routing.ts#L64
Property 'createBugTicket' does not exist on type '{ routingWorkflow: FunctionReference<"mutation", "internal", { fn: "You should not call this directly, call workflow.start instead"; args: { threadId: string; userMessage: string; }; }, { metadata: any; response: string; intent: string; }, string | undefined>; ... 4 more ...; handleGeneralQuestion: FunctionReference...'.
|
|
Publish package for testing branch
{
"workflowData": {
"owner": "get-convex",
"repo": "agent",
"sha": "c2d237ffd78bdf8f91621ef36a32621958654178",
"ref": "204"
},
"key": "gALvuc6mRU",
"runId": 21307549773,
"webhookDebug": {
"action": "in_progress",
"head_branch": "ian/workflow-examples",
"head_repository_full_name": "KenjiPcx/agent",
"full_name": "get-convex/agent",
"isPullRequest": true,
"prNumber": 204,
"prNumberType": "number",
"isNewPullRequest": true,
"isOldPullRequest": false,
"prKey": "KenjiPcx/agent:ian/workflow-examples",
"oldPrDataHash": "oJqSPxf1E4",
"lookupKey": "KenjiPcx/agent:ian/workflow-examples",
"data": {
"owner": "get-convex",
"repo": "agent",
"sha": "c2d237ffd78bdf8f91621ef36a32621958654178",
"ref": "204"
}
}
}
|
Loading