LIghtJUNction
95cb2a8ac6
fix: resolve multiple type errors and runtime bugs
...
- shell.py: Fix FunctionTool import from correct module (core.agent.tool)
- deerflow/coze agent runners: Remove invalid return type annotations for step/step_until_done
- aiocqhttp_message_event.py: Fix raise string error (must raise Exception not str)
- lark_event.py: Fix file upload by wrapping bytes in BytesIO for SDK compatibility
- tg_adapter.py: Fix update.message None check in nested function
- TraceDisplayer.vue: Fix text color visibility using proper theme variables
2026-03-30 01:08:43 +08:00
LIghtJUNction
fcaaeb5114
test: fix tests for abstract ComputerBooter
...
ComputerBooter is now an abstract class, so tests that tried to
instantiate it directly need to be updated:
- test_booter_decoupling.py: remove test_get_tools_delegates_to_class
since base class cannot be instantiated
- test_profile_aware_tools.py: use ShipyardBooter.__new__() to test
base class property defaults (capabilities, browser)
- test_computer.py: skip BoxliteBooter test since it's also abstract
and requires the boxlite module
2026-03-23 17:37:14 +08:00
LIghtJUNction
92bae1fdae
docs: replace prints with logger in upload_doc_images_to_r2.py
2026-03-19 23:30:25 +08:00
zenfun
3440dcd14b
test: add booter decoupling and profile-aware tool tests
2026-03-12 02:55:09 +08:00
zenfun
d21212d0e4
test(computer): add profile-aware sandbox selection tests
...
17 tests covering:
- ShipyardNeoBooter.capabilities property (tuple, immutability, pre/post boot)
- _apply_sandbox_tools conditional browser tool registration
- _resolve_profile smart selection (user-specified, browser preference,
API error fallback, empty profiles, auth error pass-through)
- ComputerBooter base class defaults
2026-02-21 01:03:58 +08:00