Hundao
589c5b06fe
fix: resolve all ruff lint and format errors across codebase ( #7058 )
...
- Auto-fixed 70 lint errors (import sorting, aliased errors, datetime.UTC)
- Fixed 85 remaining errors manually:
- E501: wrapped long lines in queen_profiles, catalog, routes_credentials
- F821: added missing TYPE_CHECKING imports for AgentHost, ToolRegistry,
HookContext, HookResult; added runtime imports where needed
- F811: removed duplicate method definitions in queen_lifecycle_tools
- F841/B007: removed unused variables in discovery.py
- W291: removed trailing whitespace in queen nodes
- E402: moved import to top of queen_memory_v2.py
- Fixed AgentRuntime -> AgentHost in example template type annotations
- Reformatted 343 files with ruff format
2026-04-16 19:30:01 +08:00
bryan
69a03e463f
cancel + queue msg
2026-02-26 17:57:21 -08:00
Richard Tang
337fb6d922
refactor: deprecate the unused llm functions
2026-02-25 17:32:33 -08:00
Timothy
978904d2a4
fix(executor): async operations on non-streaming llm complete for healthy event loop
2026-02-15 17:31:18 -08:00
Timothy
76deba2a6a
feat: consistent memory system
2026-02-12 11:41:22 -08:00
bryan
ea30e5c631
consolidate workspace to uv monorepo
2026-02-03 17:47:57 -08:00
Timothy
c3fddd3c8c
fix: deprecate credential manager
2026-01-30 12:28:27 -08:00
bryan
22358a2d83
Merge branch 'main' into fix/ruff-tests
2026-01-26 13:37:12 -08:00
bryan
46bdedcabb
ruff check fix
2026-01-26 07:32:03 -08:00
Kira714
1c78174aaf
fix(llm): correct type annotation from lowercase callable to Callable
...
Fixes #599
The `callable` keyword in Python is a builtin function to check if something
is callable, NOT a type annotation. For type hints, we need `Callable` from
the typing module.
Changed:
- `tool_executor: callable` → `tool_executor: Callable[[ToolUse], ToolResult]`
Files updated:
- core/framework/llm/provider.py
- core/framework/llm/anthropic.py
- core/framework/llm/litellm.py
This fixes mypy/pyright type checking errors like:
"Variable annotation syntax is for types; callable is a function"
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-26 16:27:54 +08:00
Aysun Itai
e2f387965e
fix: align AnthropicProvider.complete with LLMProvider (response_format)
...
Update AnthropicProvider.complete to accept response_format and forward it to LiteLLMProvider.
Added unit test in test_litellm_provider.py to verify parameter forwarding.
2026-01-24 11:59:53 +02:00
bryan
b0e870d1db
updated output to clean json, update set goal, changed llm to llm_generate
2026-01-23 14:27:45 -08:00
bryan
4cab6ec387
Merge branch 'staging' into fix/testing
2026-01-22 14:27:37 -08:00
bryan
75b37a4fbd
fixes to merge
2026-01-22 13:49:50 -08:00
bryan
1f39b50dc0
Merge branch 'staging' into fix/testing
2026-01-22 13:49:39 -08:00
bryan
d05d4aabd7
updated testing tools to use full code
2026-01-22 13:12:53 -08:00
Timothy
d2fa847cfb
chore: fix git actions
2026-01-22 11:37:54 -08:00
Timothy
fd36692ab0
Merge branch 'main' into staging
2026-01-22 08:02:41 -08:00
bryan
bfa5305cac
updates to skills to use credentials and check tools existing
2026-01-21 17:11:59 -08:00
Mohamed Awnallah
a50bdcfc72
core: make AnthropicProvider backward compatible with litellm integration
2026-01-21 07:24:55 +02:00
bryan
e2945b6c99
initial test phase
2026-01-20 16:28:21 -08:00
Timothy
4ff84fc06a
feat(core): main framework
2026-01-19 18:42:16 -08:00