Soulter
cb749a38ab
chore: remove status checking in chat page
2025-08-13 10:45:50 +08:00
Soulter
842c3c8ea9
Refactor: using sqlmodel(sqlchemy+pydantic) as ORM framework and switch to async-based sqlite operation ( #2294 )
...
* stage
* stage
* refactor: using sqlchemy as ORM framework, switch to async-based sqlite operation
- using sqlmodel as ORM(based on sqlchemy and pydantic)
- add Persona, Preference, PlatformMessageHistory table
* fix: conversation
* fix: remove redundant explicit session.commit, and fix some type error
* fix: conversation context issue
* chore: remove comments
* chore: remove exclude_content param
2025-08-02 15:44:00 +08:00
Soulter
2534f59398
chore: remove debug print statement from chat route
2025-07-10 16:59:58 +08:00
Soulter
5c60dbe2b1
fix: 修复 WebChat 下可能消息错位的问题
2025-07-10 16:52:16 +08:00
Soulter
225db66738
fix: refine streaming logic in chat response handling
2025-07-04 16:59:49 +08:00
Soulter
5f0d601baa
feat: add support for selecting provider and models in webchat
2025-07-03 10:42:20 +08:00
Soulter
6a503b82c3
refactor: web chat queue management and streamline chat route handling
2025-07-01 22:34:17 +08:00
Soulter
581f9b7bd3
fix: typo fix
...
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-06-10 13:02:30 +08:00
Soulter
a6d91933dc
feat: 支持自动生成webchat title
2025-06-10 10:58:49 +08:00
Raven95676
39aea11c22
perf: enhance file access security in get_file method
...
Co-authored-by: anka-afk <1350989414@qq.com >
2025-05-29 21:03:51 +08:00
Soulter
900f14d37c
🐛 fix: fixed a potential vulnerability in /api/chat/get_file endpoint.
...
I have fixed a potential vulnerability in the `/api/chat/get_file` endpoint that could allow unauthorized access to files by ensuring the request has a jwt token.
2025-05-29 19:17:31 +08:00
Raven95676
c111da4681
refactor: 修改框架路径获取方式,规范化路径拼接
2025-05-06 17:30:34 +08:00
Soulter
5f0b8161b7
perf: 优化 WebUI Chat 的流式传输性能
2025-04-09 15:22:35 +08:00
Soulter
109650faf3
✨ feat: 支持流式输出
2025-04-06 00:56:33 +08:00
Soulter
49bba9bf98
style: format codes
2025-03-03 13:30:55 +08:00
Soulter
e3ffdbc308
✨ feat: openai_source 支持传入任何自定义参数以适配 Ollama 和 FastGPT 等
2025-02-25 00:51:09 +08:00
Soulter
12f4e1146f
feat: 更好的对话管理
2025-02-05 13:26:53 +08:00
Soulter
e42ce7dd86
perf: 优化了用户体验
2025-01-20 23:27:13 +08:00
Soulter
e6c985ce4e
feat: 优化WebChat长连接的逻辑
2025-01-13 12:42:32 +08:00
Soulter
0f9ab082ab
perf: 优化webchat,没有结果返回时的反馈
2025-01-11 19:45:42 +08:00
Soulter
97b58965f2
feat: webchat可显示Provider状态
2025-01-11 19:31:56 +08:00
Soulter
a09998f910
feat: webchat 支持语音输入
2025-01-11 18:54:40 +08:00
Soulter
22c13c1eff
perf: webchat支持传图
2025-01-11 00:06:19 +08:00
Soulter
d4f32673ab
fix: 修复持久化问题
2025-01-10 22:08:43 +08:00
Soulter
480dffb51b
feat: 初步实现 webchat 页面
2025-01-10 21:48:15 +08:00