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
ef530695c7
feat(python): Enable Ruff ruleset (RUF), disable preview mode ( #70 )
...
* feat(python): Enable Ruff ruleset (RUF)
Refactor the codebase to address and resolve pre-existing style
violations flagged by the Ruff ruleset.
* feat(python): disable preview mode in Ruff
Preview rules in Ruff are unstable and subject to frequent changes.
Disabling them helps prevent potential confusion for developers.
* chore(python): disable deprecated UP038 rule in Ruff
The UP038 rule is deprecated and its suggested practice is not recommended.
Disabling this rule helps avoid unnecessary code rewrites.
2025-03-25 23:23:00 +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
5f008ffb5b
fix: memory leak due to session pool
2025-02-08 23:41:35 +08:00
Yeuoly
857dfbc065
fix: using logger.error to raise detailed error messages
2025-01-21 16:37:36 +08:00
Yeuoly
f69257db40
fix: add AWS_LAMBDA_HOST
2025-01-21 14:32:12 +08:00
Novice
43e58b93e7
Merge pull request #7 from langgenius/feat/agent-node
...
feat: add agent strategy support
2025-01-08 07:50:49 +08:00
Novice Lee
92558f5c07
feat: add agent strategy support
2025-01-08 07:48:27 +08:00
Yeuoly
91f1f343e0
fix: add modified credentials to returns
2025-01-07 18:44:07 +08:00
Yeuoly
d450c94888
fix: using absolute importing
2024-12-17 18:24:31 +08:00
Yeuoly
269627916c
optimize agent
2024-12-13 15:08:12 +08:00
Yeuoly
a623638d01
refactor: rename agent to agent strategy
2024-12-12 18:26:34 +08:00
Yeuoly
e6b20c91b9
fix: exit smoothly
2024-12-10 00:21:27 +08:00
Yeuoly
15c14aedf8
feat: agent plugin
2024-12-09 22:01:41 +08:00
Yeuoly
6bd2aa721f
fix: Sequence to list
2024-12-03 15:30:55 +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-
b4b0c29169
refactor: prevent raise-without-from-inside-except
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 22:18:56 +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-
7436c3c98c
refactor: prevent multiple-with-statements
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:56:57 +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-
c58be38047
fix(plugin_executor): Yield data then return
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:32:58 +08:00
-LAN-
deb1216d01
refactor: Use pathlib instead of open.
...
Signed-off-by: -LAN- <laipz8200@outlook.com >
2024-12-02 21:27:44 +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
ad6ca50b38
feat: summarize, fix: missing files
2024-12-02 16:00:34 +08:00
Yeuoly
642308f123
feat: support detail logs for DEBUGGING
2024-12-02 14:10:00 +08:00
Yeuoly
05d6255e6a
fix: set default value None to permission field
2024-12-02 13:25:27 +08:00
Yeuoly
3811d8d786
refactor: tts
2024-11-29 15:54:56 +08:00
Yeuoly
d6b9a6a84c
fix: increase timeout of http backwards invocations
2024-11-20 21:08:53 +08:00
Yeuoly
4962415904
fix: missing app permission configuration
2024-11-18 17:04:01 +08:00
Yeuoly
9bddcd4745
fix: decoding error when chunking messages
2024-11-15 19:27:35 +08:00
Yeuoly
39aeab91c9
cleanup
2024-11-15 16:45:44 +08:00
Yeuoly
c49b84824c
feat: support upload files
2024-11-14 18:36:03 +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
takatost
40e2f429ca
fix: get model schema api
2024-10-31 22:38:34 -07:00
Yeuoly
43a2f4261d
feat: support backwards invoke summary
2024-10-17 19:56:51 +08:00
Yeuoly
8e93e782b1
feat: add description
2024-10-16 20:05:46 +08:00