Commit graph

1606 commits

Author SHA1 Message Date
Jicheng Lu 3968463a7e refine side car states 2025-07-07 12:24:44 -05:00
Jicheng Lu ba485cef48 rename and refine instructions 2025-07-01 12:01:09 -05:00
Jicheng Lu aac09ca3bd implement streaming chat interface 2025-06-27 13:49:44 -05:00
iceljc b5c77183a1
Merge pull request #1082 from iceljc/bugfix/mountaindew/fix-fork-conversation-twilio
fix fork conversation
2025-06-27 11:32:13 -05:00
Haiping Chen f11790ed10 Added conversation_end to response_to_user 2025-06-27 08:28:22 -05:00
Jicheng Lu 2b465722df use stream message from state and add token usage 2025-06-24 22:09:13 -05:00
Jicheng Lu 3d57d149b4 clean code 2025-06-23 21:47:58 -05:00
Jicheng Lu 7008667a1a support invoke function 2025-06-23 21:43:25 -05:00
Jicheng Lu 5541500ed2 init tool calling 2025-06-18 16:42:58 -05:00
Jicheng Lu 796388a8fc refine side car 2025-06-18 15:03:16 -05:00
Jicheng Lu f4a74258c2 temp save 2025-06-17 17:57:57 -05:00
Jicheng Lu a3157c2470 init message hub and chathub observers 2025-06-17 13:17:28 -05:00
Jack 5a70327254
fix new user login error 2025-06-13 10:03:51 +08:00
Haiping 36c568efac
Allow router to load utility 2025-06-12 14:11:39 -05:00
Jicheng Lu ef5f196927 add agent utility description 2025-06-04 22:15:07 -05:00
Jicheng Lu 49201c41f1 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-file-instruct 2025-06-04 14:09:06 -05:00
nick.yi a86a966bf3 hotfix summary 2025-06-03 11:44:14 +08:00
Jicheng Lu f5242a83b3 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-file-instruct 2025-05-29 14:22:36 -05:00
Jicheng Lu 2ce3f6c070 refine file name 2025-05-29 13:58:47 -05:00
Haiping 565f289702
Merge pull request #1066 from iceljc/features/add-utility-visibility
add utility visibility expression
2025-05-29 13:15:35 -05:00
Haiping Chen 854e6bf11d OnTicketReceivedContext 2025-05-29 05:39:07 -05:00
易磊 31bdd8f847
Merge pull request #1070 from yileicn/master
optimize summary
2025-05-29 15:30:01 +08:00
nick.yi 5bfb8f8734 optimize summary 2025-05-29 15:14:44 +08:00
易磊 c8149b63e2
Merge pull request #1069 from yileicn/master
hotfix AddDefaultInstruction
2025-05-29 10:42:14 +08:00
nick.yi d222a120ac hotfix AddDefaultInstruction 2025-05-29 10:33:22 +08:00
Jicheng Lu e2f2d0a0da Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-utility-visibility 2025-05-28 20:43:00 -05:00
Jicheng Lu c6807a501c Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refine-file-instruct 2025-05-28 20:40:14 -05:00
Haiping 82affd8bb9
Merge pull request #1067 from yileicn/master
hotfix agent instruction cache question
2025-05-28 20:10:41 -05:00
Jicheng Lu 1792da38ef refine utility structure 2025-05-28 16:16:48 -05:00
Jicheng Lu db542b7e90 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-utility-visibility 2025-05-28 13:29:04 -05:00
Jicheng Lu 0469b27a97 refine form data 2025-05-28 11:57:25 -05:00
nick.yi 57f25f3c82 hotfix agent instruction cache question 2025-05-28 17:50:07 +08:00
Jicheng Lu 0a0da61db3 temp save 2025-05-27 21:23:20 -05:00
Jicheng Lu 78579fe4fe use binary data 2025-05-27 19:56:14 -05:00
Jicheng Lu 59eb471dee minor change 2025-05-27 15:26:11 -05:00
Jicheng Lu 28d4f4e9ba add utility visibility expression 2025-05-27 15:23:37 -05:00
Haiping 53bf0fee19
Merge pull request #1065 from yileicn/master
optimize CheckArgType
2025-05-27 13:28:40 -05:00
nick.yi ced3883c44 optimize CheckArgType 2025-05-27 23:08:28 +08:00
Haiping 1672374e48
Merge pull request #1064 from iceljc/test/google-realtime
add gemini file content
2025-05-27 09:40:05 -05:00
Jicheng Lu b6e6de591f add gemini file content 2025-05-26 00:23:31 -05:00
nick.yi c3332dda0e Fix IndexOutOfRangeException caused by CheckArgType concurrency 2025-05-25 11:32:17 +08:00
Haiping ca36b140c6
Fix CheckArgType null 2025-05-24 16:30:14 -05:00
Jicheng Lu b52c240593 fix user update 2025-05-22 16:10:09 -05:00
Jicheng Lu 1cd8ab9b03 minor change 2025-05-22 14:02:39 -05:00
Jicheng Lu 2bf15f5078 refine routing mode 2025-05-22 13:58:42 -05:00
Jicheng Lu 069170a01c add agent mode 2025-05-21 17:34:38 -05:00
Jicheng Lu 6649e529cc Merge branch 'master' of https://github.com/SciSharp/BotSharp into test/google-realtime 2025-05-21 15:58:10 -05:00
Jicheng Lu aab468f410 add session logging and crontab settings 2025-05-20 10:59:42 -05:00
易磊 73a4076cd0
Merge branch 'master' into Production 2025-05-20 09:25:54 +08:00
Jicheng Lu b0b6c4b651 remove comments 2025-05-19 15:02:28 -05:00
Jicheng Lu a6e9f1de5a Merge branch 'master' of https://github.com/SciSharp/BotSharp into test/google-realtime 2025-05-19 14:54:58 -05:00
Jicheng Lu 82b831d406 add session reconnect 2025-05-19 14:54:40 -05:00
Haiping a6b11f0207
Merge pull request #1057 from iceljc/test/google-realtime
Test/google realtime
2025-05-19 10:01:13 -05:00
Haiping 968bac623d
Update RoutingService.InstructLoop.cs
hotfix GetNextStepPrompt error(can't find naive reasoner template)
2025-05-19 09:48:16 -05:00
nick.yi 278b36785e hotfix GetNextStepPrompt error(can't find naive reasoner template) 2025-05-19 17:49:40 +08:00
Jicheng Lu a4d4f28bc0 resolve conflict 2025-05-15 23:21:01 -05:00
Jicheng Lu d5d03834f1 minor change 2025-05-15 23:02:38 -05:00
Jicheng Lu 0c2ba423d8 refine 2025-05-15 22:59:57 -05:00
nick.yi d10f0a635a hotfix error 2025-05-16 09:32:05 +08:00
nick.yi b17eb86220 fix merge conflict 2025-05-16 09:25:23 +08:00
nick.yi 37f860d897 optimize hook 2025-05-16 09:19:55 +08:00
Jicheng Lu 350c479486 sync and refine 2025-05-15 17:46:36 -05:00
Jicheng Lu 37bef7b8c6 Merge branch 'master' of https://github.com/SciSharp/BotSharp into test/google-realtime 2025-05-15 15:47:06 -05:00
Jicheng Lu b64f22ef8e temp save 2025-05-15 15:46:42 -05:00
Haiping a2fdc769a9
Merge pull request #1044 from SciSharp/mcpdummytools
Refactor InvokeFunction code
2025-05-15 10:52:26 -05:00
nick.yi 9cdf9179c0 optimize hook 2025-05-15 15:25:08 +08:00
Jicheng Lu 4c4dce852d minor change 2025-05-14 23:54:18 -05:00
Jicheng Lu bc40deed54 tool call done; to do session restart 2025-05-14 23:49:36 -05:00
nick.yi b748ce3d9f optimize AgentHook,IInstructHook 2025-05-15 10:48:08 +08:00
Jicheng Lu 04eafedb78 refine transcription 2025-05-14 18:14:01 -05:00
Jicheng Lu da9c3c6ab0 temp save 2025-05-13 15:43:08 -05:00
Jicheng Lu c837dd6611 temp save 2025-05-13 11:45:19 -05:00
geffzhang 1defef62e8 Merge branch 'master' into mcpdummytools 2025-05-11 15:21:49 +08:00
Haiping 872b57fa80
Merge pull request #1050 from iceljc/features/refine-global-stats
refine global stats
2025-05-08 14:03:33 -05:00
Jicheng Lu 0a8519559e refine global stats schema 2025-05-08 11:30:40 -05:00
Jicheng Lu 6141643401 refine global stats 2025-05-08 00:19:19 -05:00
Jicheng Lu 363c9be56b minor change 2025-05-07 22:14:05 -05:00
Jicheng Lu 5c5c643856 resolve conflict 2025-05-07 16:38:55 -05:00
Jicheng Lu e35fbc7439 refine 2025-05-07 16:34:39 -05:00
Haiping Chen 36a387eb3e Avoid duplicated utility templates. 2025-05-07 14:31:53 -05:00
nick.yi 46ad042d32 fix conflict 2025-05-07 09:54:24 +08:00
Haiping Chen cf4ea9cc64 resolve conflict. 2025-05-06 20:39:52 -05:00
Jicheng Lu 684805cada minor change 2025-05-05 16:55:50 -05:00
Haiping Chen 97115c6496 Fix InstructLoop 2025-05-05 10:10:32 -05:00
Haiping Chen 3960381b7f Merge branch 'master' into routing-function-refactor-1 2025-05-05 09:12:14 -05:00
Jicheng Lu 1762675cb0 revert 2025-05-04 23:20:52 -05:00
Haiping Chen 5ff7079470 Optimize InstructLoop 2025-05-02 20:02:37 -05:00
Jicheng Lu d703477b4b refine error and warn logging 2025-05-02 11:31:28 -05:00
geffzhang 5087b46e66 rename MCPFunctionExecutor 2025-05-01 17:14:02 +08:00
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
Jicheng Lu c1004df986 Merge branch 'master' of https://github.com/SciSharp/BotSharp into test/realtime-chat 2025-04-30 15:00:08 -05:00
Jack 91dda91ee1
Update AgentService.GetAgents.cs
fix can't find agent issue
2025-04-30 17:13:53 +08:00
Jack ba827378f0
Update AgentService.GetAgents.cs
can't not find agent throw exception
2025-04-30 15:51:09 +08:00
nick.yi d5148cb811 optimize HooKEmitter 2025-04-29 14:08:08 +08:00
nick.yi 34658d4468 GetConversations() add channelId query condition 2025-04-29 13:35:48 +08:00
Jicheng Lu d05fa40bb7 add agent links 2025-04-28 14:53:32 -05:00
Haiping Chen 4298e466db remove output format 2025-04-27 16:25:46 -05:00
Haiping Chen 6fa6aa180d Deprecate routing handler. 2025-04-26 13:05:15 -05:00
Jicheng Lu 13ed40b3cc revert 2025-04-25 14:00:33 -05:00
Jicheng Lu 8de7e699a7 resolve conflict 2025-04-25 13:48:42 -05:00
Jicheng Lu de12724371 temp save 2025-04-24 17:52:58 -05:00
Haiping Chen fe82939733 response_to_user 2025-04-23 23:10:07 -05:00
Jicheng Lu 3ab3edd52a Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/refactor-llm-cost 2025-04-21 11:19:59 -05:00
Jicheng Lu fd89a995d1 refactor llm cost 2025-04-21 11:19:56 -05:00
nick.yi 1fc3e1b9d0 optimize naming, ConfigureAwait 2025-04-21 20:05:36 +08:00
Haiping Chen 948b0bb337 Add agent routing mode 2025-04-20 21:18:56 -05:00
Haiping Chen a791600c40 Allow hook to intercept function. 2025-04-20 18:24:13 -05:00
Haiping Chen 8131f7f47b Remove unnecessary agent load 2025-04-18 20:44:42 -05:00
Haiping Chen 7b5c889068 ResponseDoneStatusDetail 2025-04-18 16:34:46 -05:00
Haiping 532c8da6e8
Disable load agent cache 2025-04-16 16:17:34 -05:00
Haiping e017c21dd3
rollback set conversation id 2025-04-16 15:35:42 -05:00
Haiping 7fe2f0c3a3
Set _conversationId 2025-04-16 14:26:32 -05:00
Jicheng Lu 98e0142fc3 fix to string 2025-04-15 17:58:33 -05:00
Jicheng Lu 71ea333eae merge code 2025-04-14 14:45:33 -05:00
Haiping Chen 4d64b06570 Change to modelType when getting realtime model. 2025-04-02 12:02:02 -05:00
Haiping Chen 8cbd82a0ff optimize twilio 2025-04-02 10:35:03 -05:00
Jicheng Lu 530e01c5d8 refine mcp settings 2025-04-01 10:24:48 -05:00
Jicheng Lu c84410b823 fix file selection 2025-03-31 21:21:45 -05:00
Jicheng Lu adfb8f4fc4 fix startup and use camel case 2025-03-31 20:59:19 -05:00
Jicheng Lu 74476030e1 refine mcp 2025-03-31 16:43:42 -05:00
Jicheng Lu 5eca6b484f refine instruction 2025-03-31 15:16:46 -05:00
geffzhang 1a1f56fdc6
Merge branch 'master' into mcp 2025-03-22 10:07:35 +08:00
geffzhang 994da497a4
Merge branch 'SciSharp:master' into master 2025-03-22 10:03:16 +08:00
Haiping Chen 2d710d4f50 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-03-21 19:29:38 -05:00
Haiping Chen 21aab66826 IAudioSynthesis 2025-03-21 19:28:22 -05:00
Jicheng Lu bdc1529686 minor change 2025-03-21 17:34:00 -05:00
Jicheng Lu ba12125a1e add additional llm cost 2025-03-21 17:32:29 -05:00
Jicheng Lu c3e0270c10 Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/call-dummy-func 2025-03-21 14:38:33 -05:00
Haiping Chen e506fda585 Merge branch 'master' of https://github.com/hchen2020/BotSharp 2025-03-21 09:20:46 -05:00
nick.yi e310084db2 realtime model not suppot v1/chat/completions 2025-03-21 17:03:23 +08:00
nick.yi afe9d27e99 realtime model not suppot v1/chat/completions 2025-03-21 16:56:25 +08:00
geffzhang 7a9d7ffc75 feat:switch official sdk ModelContextProtocol
mcpdotnet now is mcp offical sdk
2025-03-21 13:14:19 +08:00
Haiping Chen f392b7f326 WaitingForAiResponse 2025-03-20 17:54:49 -05:00
Jicheng Lu cbd5185f51 minor change 2025-03-18 23:32:06 -05:00
Jicheng Lu eb078d121b Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/call-dummy-func 2025-03-18 09:32:49 -05:00
Haiping Chen a80ecd9bb4 Fix PizzaBot compile issue. 2025-03-17 20:30:15 -05:00
Jicheng Lu f562152b78 add instruct hooks 2025-03-17 17:02:24 -05:00
Jicheng Lu fe63875315 minor change 2025-03-17 14:26:39 -05:00
Jicheng Lu bcadc7e940 add execute template utility 2025-03-17 14:13:31 -05:00
geffzhang 213d39349e Merge branch 'mcp' of https://github.com/Ai4c-AI/BotSharp 2025-03-17 07:50:35 +08: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
Jicheng Lu f4cc8f41fa refine update conv tags 2025-03-13 15:36:14 -05:00
Jicheng Lu 9a8f559785 temp save 2025-03-13 13:06:00 -05:00
Jicheng Lu 85cf382adc refine chat log 2025-03-12 10:13:57 -05:00
Jicheng Lu 25a9c77cdd refine agent task 2025-03-10 17:03:23 -05:00
Jicheng Lu 9f71816177 refine state key search 2025-03-10 12:14:44 -05:00
Jicheng Lu eb81ad212a add instruction log setting and state search 2025-03-09 22:21:34 -05:00
iceljc 8fd5ac1315
Merge pull request #918 from iceljc/master
refine instruction log
2025-03-06 17:02:26 -06:00
Jicheng Lu 1275053d66 migrate conv latest states 2025-03-06 16:46:38 -06:00