Commit graph

29 commits

Author SHA1 Message Date
geffzhang 927184efee Refactor InvokeFunction code
Refactor the InvokeFunction code by categorizing the dummy function, function callback, and MCP tool invocation logic into three distinct  classes
2025-05-01 16:47:16 +08:00
Haiping Chen a791600c40 Allow hook to intercept function. 2025-04-20 18:24:13 -05:00
Jicheng Lu 5d4dcc3e13 refine state loading 2025-03-14 17:04:54 -05:00
Jicheng Lu 995b71e145 call dummy func 2025-03-14 11:13:13 -05:00
Haiping Chen 65c2c0f893 message.Role = clonedMessage.Role 2025-02-10 21:51:45 -06:00
Haiping Chen 2c41ddc042 realtime function call output 2025-02-10 15:52:10 -06:00
Kerry Jiang ba855bc7cc introduce ConversationHookProvider to avoid ordering conversartion hooks in runtime 2024-12-07 13:47:17 -08:00
Haiping Chen dd82952b0e Rollback message payload change 2024-10-22 06:31:21 -05:00
易磊 d591241efb
support assistant message playload
Assign payload when invoking function
2024-10-21 17:05:36 +08:00
LAPTOP-3CFGGVOS\rabbit 829d0c6e4e optimize indication 2024-09-13 20:21:03 +08:00
LAPTOP-3CFGGVOS\rabbit 3f8e506ec7 optimize conversation Progeess, hotfix invoke function progress question 2024-09-12 18:49:45 +08:00
Haiping Chen ed35da1928 Fix route to agent. 2024-07-11 16:43:03 -05:00
Jicheng Lu 8ce51d4f6f fix invoke function 2024-05-10 14:29:46 -05:00
Haiping Chen 0ae2c4ba99 Server-sent Events. 2024-04-30 16:25:58 -05:00
Haiping Chen ce7b495475 Return reason from HasMissingRequiredField. 2024-04-24 16:45:18 -05:00
Haiping Chen 3c968bd068 PostbackFunctionName 2024-04-06 18:33:49 -05:00
Haiping Chen 8f9e2adcc3 Save to Storage as well 2024-03-30 19:48:13 -05:00
C. Oceania ffe9fb81b0
Update RoutingService.InvokeFunction.cs 2024-03-28 16:44:57 -05:00
Haiping Chen 3d7fb18ab0 optimize naive. 2024-03-28 15:38:16 -05:00
Haiping Chen 9f79dcf4a8 Save function result to Storage 2024-03-28 14:09:13 -05:00
Haiping Chen dccc345bcd Check routing rule after poping agent. 2024-03-21 17:04:45 -05:00
Haiping Chen be7b5a9849 Fix InvokeFunction name. 2024-03-14 19:52:58 -05:00
Haiping Chen 1bccb15058 Syn agent template dict once states has been changed. 2024-03-11 13:26:49 -05:00
Haiping Chen fb0adadf6a Unified InvokeFunction. 2024-02-29 23:44:57 -06:00
Haiping Chen a0bf65698f Add required flag. 2024-02-27 21:15:21 -06:00
Haiping Chen 18721a6b8f Auto restore function name in InvokeFunction. 2024-02-27 14:59:08 -06:00
Haiping Chen 61c1f9623b Fix StopCompletion issue for hook.OnMessageReceived. 2023-12-12 08:16:34 -06:00
Haiping Chen 6e88cc6f2c Set FunctionName of InvokeFunction. 2023-12-11 17:15:37 -06:00
Jicheng Lu fabbd8bcef add invoke function in routing service 2023-12-06 21:06:09 -06:00