tcx4c70
f6bd08c852
fix(utils): Switch throttle decorator to async ( #23979 )
...
After migration to async db operations, the throttle decorator also
needs to support async. Since the decorator is only used for async funcs
now, we can just switch it to async instead of supporting sync and async
at the same time.
Signed-off-by: Adam Tao <tcx4c70@gmail.com >
2026-04-24 14:39:45 +09:00
Adam Tao
7bd7559bfe
refactor: format
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com >
2025-08-10 22:28:31 +08:00
Adam Tao
635cb8e3ff
perf(db): deduplicate update_user_last_active_by_id to reduce conflicts
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com >
2025-08-10 22:28:31 +08:00
Adam Tao
b23abcbfe5
feat(db): Add DATABASE_ENABLE_SQLITE_WAL to enable SQLite WAL
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com >
2025-08-10 22:28:31 +08:00
Adam Tao
739098ab60
feat(logger): Add trace_id and span_id to log
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com >
2025-07-19 18:36:54 +08:00
Adam Tao
baafdb752c
feat(openai): Add stream_options to payload if api_version supports
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com >
2025-06-18 21:17:09 +08:00
Adam Tao
809d91a3df
fix(tools): not all arguments converted during string formatting
...
Signed-off-by: Adam Tao <tcx4c70@gmail.com >
2025-06-11 21:36:36 +08:00