Octopus
872d01f8e5
fix: return HTTP 500 instead of calling sys.exit(1) on query errors
...
Previously, any unhandled exception during query processing caused the
entire backend server to exit via sys.exit(1), making the frontend show
'System offline. Deploy backend first.' until the container was restarted.
Also, is_generating was never reset to False on exception, permanently
blocking all subsequent queries with 429 responses.
- Replace sys.exit(1) with a proper HTTP 500 error response
- Move is_generating = False to the finally block so it always resets
Fixes #382
2026-04-04 11:23:41 +08:00
Christian Coleman
c7ffe46771
Added a warning for people that try to run a non-headless browser in a docker container. It errors in a very unhelpful way, and so this code tells the user in the output what's happening and also forces headless = True. If a user actually means to run a non-headless browser and view via X11 or something then the warning/output will lead them to the right place that they need to tweak.
2025-06-22 02:39:20 -04:00
martin
a6cf09673b
fix : docker on windows
2025-06-14 00:30:14 +02:00
martin legrand
54cc2a03ec
feat : updating with latest docker backend build thx to #265
2025-05-31 17:20:40 +02:00
martin legrand
16b8f1a451
deploy : current attempt at backend dockerization
2025-05-25 21:19:18 +02:00
martin legrand
e3d01083d9
feat : stop button integration
2025-05-20 16:47:35 +02:00
martin legrand
102dc60efb
feat : integrate reasoning view
2025-05-17 22:04:07 +02:00
martin legrand
713c01193f
sec: no crossorigin allow
2025-05-16 14:05:36 +02:00
martin legrand
bd26d7233d
refactor : comments + feat : selected lang in config influe browser config
2025-05-16 10:18:26 +02:00
martin legrand
52e5af8116
fix : tts not working with web interface
2025-05-03 19:22:01 +02:00
martin legrand
309a481a69
feat : enhance planner
2025-04-25 21:15:49 +02:00
martin legrand
1b17b95e8c
feat : slight fix attempt for frontend
2025-04-21 15:06:21 +02:00
martin legrand
26e5159c1d
fix : use effect
2025-04-18 18:47:41 +02:00
martin legrand
0f09ef92dd
refactor : message for status
2025-04-18 18:31:11 +02:00
martin legrand
5ac7df1854
fix : browser stuck due to history problem
2025-04-18 18:05:54 +02:00
martin legrand
600bff8da4
fix : error
2025-04-18 17:38:51 +02:00
martin legrand
c9f6d76d30
fix : status display on frontend
2025-04-18 17:18:11 +02:00
martin legrand
c030b55521
fix : web front bugs
2025-04-18 16:29:59 +02:00
martin legrand
83c595144b
feat : frontend message streaming
2025-04-18 15:42:53 +02:00
martin legrand
36b26b43c9
fix deployement script
2025-04-17 12:05:23 +02:00
martin legrand
81b772df9a
upd readme
2025-04-16 22:20:30 +02:00