9 Commits

Author SHA1 Message Date
8108e86ab5 refactor: replace mock reasoning with real LLM-based engine
- Rewrite core.py: all mock implementations replaced with real calls
  * _generate_plan() uses llm_chat from harnessed_agent for LLM-based planning
  * _execute_tool() calls harnessed_execute_tool for real tool execution
  * _get_memory_context() calls harnessed_get_intelligent_memory_context
  * _safety_check() with configurable strict/moderate/lenient modes
  * _try_recovery() for auto-recovery on common failures
  * All session persistence uses real database operations

- Fix reasoning_console.ui: uitype 'textarea' -> 'text' per bricks spec
- Add .gitignore

The reasoning module now:
1. Calls LLM to analyze user request and generate execution plan
2. Safety-checks the plan before execution
3. Executes tools via harnessed_agent's tool system
4. Recovers from common errors automatically
5. Stores session history in database
2026-05-07 12:15:23 +08:00
e91a5554f6 fix: add length/dec attributes to float/decimal fields in model definitions 2026-05-07 10:39:27 +08:00
3dfd935dfe 添加推理交互和模型配置:创建推理控制台UI和API,扩展config模型添加LLM模型字段(model_name/provider/api_key/temperature等) 2026-05-06 15:05:28 +08:00
4882ba0290 重构前端:添加TabPanel正确语法,创建sessions和config CRUD页面及API 2026-05-06 12:58:21 +08:00
216c21466f feat: add menu.ui with reasoning sessions, config and console menu items 2026-05-05 21:56:12 +08:00
cb89a25b27 feat: add config functions, init module, config model and skill documentation
- Add config_functions.py for reasoning configuration
- Add init.py initialization module
- Add harnessed_reasoning_config model definition
- Add skill documentation (SKILL.md with assets, references, scripts)
- Add ios_design.css frontend styles
2026-05-04 11:56:43 +08:00
eb28ba57b9 add design style 2026-05-04 10:09:44 +08:00
09fff13dd9 bugfix 2026-04-16 16:27:27 +08:00
cca0434d7c bugfix 2026-04-16 15:42:41 +08:00