Yeuoly
957aab49cd
fix: improve gevent socket connection handling, avoid blocking except… ( #86 )
...
* fix: improve gevent socket connection handling, avoid blocking exceptions
* fix: enhance TCP socket handling with thread safety and improved data transmission
2025-04-10 13:42:35 +08:00
helojo
996ca2af6c
socket recv cache up to 1M ( #75 )
...
Co-authored-by: zqgame <zqgame@zqgame.local >
2025-04-07 11:14:52 +09:00
QuantumGhost
22ae421dd6
feat(python): Integrate flake8-builtins (A) ruleset with ruff ( #66 )
...
Introduce the flake8-builtins (A) ruleset to prevent accidental shadowing
of Python's built-in functions.
Address existing issues primarily by adding `# noqa` to suppress warnings where necessary.
2025-03-24 18:58:50 +08:00
Yeuoly
eb19d27501
feat: Add connection lifetime timeout for serverless request reader ( #38 )
...
- Implement timeout mechanism for single connection lifetime
- Prevent indefinite blocking on queue retrieval
- Refresh connection timer on each successful response
- Handle queue timeout gracefully
2025-03-12 17:57:15 +08:00
Yeuoly
b936b1be9f
fix: flush output when initialize
2025-03-07 16:14:16 +08:00
Yeuoly
7cb4b8a00a
chore: Bump version to 0.0.1-beta71 and add server startup logging
2025-03-06 17:53:03 +08:00
Yeuoly
7e29231d24
fix: replace flask.run with gevent.pywsgi.WSGIServer
2025-03-06 17:50:06 +08:00
Yeuoly
0354eda546
feat: Add health check endpoint and token counting optimization
2025-03-04 15:48:14 +08:00
Yeuoly
46c029bf65
refactor: aws_lambda to serverless
2025-02-10 14:58:05 +08:00
Yeuoly
f69257db40
fix: add AWS_LAMBDA_HOST
2025-01-21 14:32:12 +08:00
Yeuoly
e6b20c91b9
fix: exit smoothly
2024-12-10 00:21:27 +08:00
Yeuoly
435c0da60e
refactor: use absolute paths
2024-12-03 15:19:19 +08:00
-LAN-
71b5791c2c
chore: Remove unused variables
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:20:45 +08:00
-LAN-
da41fbf0ab
refactor: suppressible-exception
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:13:06 +08:00
-LAN-
061cf9e456
chore: prevent if-else-block-instead-of-if-exp
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:05:48 +08:00
-LAN-
105606e34b
refactor: Remove un-needed bool
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:53:23 +08:00
-LAN-
b3e0612e53
chore: Apply format
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:18:36 +08:00
-LAN-
37128aeadd
chore: Apply unsafe auto-fixes and check manually
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:17:21 +08:00
-LAN-
5858fe715e
chore: Apply formet and auto fix
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:10:36 +08:00
Yeuoly
642308f123
feat: support detail logs for DEBUGGING
2024-12-02 14:10:00 +08:00
Yeuoly
9bddcd4745
fix: decoding error when chunking messages
2024-11-15 19:27:35 +08:00
Yeuoly
e71e7575d7
fix: endless aws transaction
2024-11-08 21:22:18 +08:00
Yeuoly
0ad327fa7f
feat: automatically exit when parent process has dead
2024-11-05 20:59:36 +08:00
Yeuoly
c10330ebea
feat: colorful warnings
2024-11-05 20:46:01 +08:00
Yeuoly
37b1fcace4
refactor: initialization process
2024-11-05 16:43:39 +08:00
Yeuoly
041df019b0
feat: add app_id/conversation_id/message_id/endpoint_id into sessions
2024-10-16 15:22:08 +08:00
Yeuoly
efac3f6365
cleanup
2024-09-29 14:02:00 +08:00
Yeuoly
57dc0ef655
refactor: add detailed args to error session message
2024-09-29 12:40:11 +08:00
Yeuoly
c325ff7193
fix: aws runtime lifetime
2024-09-12 23:18:23 +08:00
Yeuoly
69fe86e029
release: beta
2024-09-11 16:19:46 +08:00
Yeuoly
3ac5a201e1
fix: relative import
2024-09-11 15:45:53 +08:00
takatost
f611636766
remove unused files
2024-09-04 19:51:15 +08:00
takatost
26d3b944b3
Merge remote-tracking branch 'origin/main'
...
# Conflicts:
# python/dify_plugin/core/runtime/abstract/request.py
# python/dify_plugin/core/runtime/request.py
# python/dify_plugin/plugin.py
2024-08-30 03:31:24 +08:00
takatost
a6d55f604d
refactor: move runtime request into separate modules
2024-08-30 03:28:09 +08:00
Yeuoly
3d3e6fbd9b
feat: support persistence storage
2024-08-29 01:27:10 +08:00
Yeuoly
83b0cf34dc
feat: add logger to tcp stream
2024-08-28 12:49:22 +08:00
Yeuoly
fba4ee198a
fix
2024-08-27 18:07:18 +08:00
Yeuoly
73ab4e0c49
fix
2024-08-27 17:20:52 +08:00
Yeuoly
55443ac092
refactor: move entities to core
2024-08-27 17:09:38 +08:00
Yeuoly
8a471941dc
refactor
2024-08-27 12:45:00 +08:00
Yeuoly
9ea78ed55d
feat: aws http backwards invoke
2024-08-26 13:14:58 +08:00
Yeuoly
2ff7635ae6
refactor: plugin stream reader
2024-08-26 10:33:19 +08:00
Yeuoly
7991deafaa
refactor: plugin io server
2024-08-26 00:32:11 +08:00
Yeuoly
feed30a8f3
refactor: io stream
2024-08-22 19:56:56 +08:00
Yeuoly
a1b94e9eb2
feat: aws lambda simulate tdd
2024-08-15 23:30:45 +08:00
Yeuoly
c7b363d88d
feat: add aws lambda
2024-08-15 19:29:22 +08:00
Yeuoly
a6be9c74c7
feat: support webhook
2024-08-06 17:58:10 +08:00
Yeuoly
8e05e0eb1a
feat: remote debugging
2024-07-26 21:13:18 +08:00
Yeuoly
f53a10bcd4
feat: support tcp developing
2024-07-24 19:35:17 +08:00
Yeuoly
a9b95eed6d
feat: backwards invocation
2024-07-24 18:38:30 +08:00