YueGuobin 73de248381 feat(copilot): add user-aware LLM calls and project cleanup
- Modified `llm_call` and `generate_title` functions to accept `config` parameter, extracting `user_id` and `jwt_token` for per-user LLM configuration and API authentication
- Updated `create_base_model_with_tools` and `create_title_model` calls to pass user authentication details
- Added `jwt_token` to state for tool usage in GNS3 API calls
- Integrated chat router into controller API routes under `/chat` endpoint
- Implemented `_cleanup_copilot_agent` method in `Project` class to remove AgentService resources upon project closure, preventing resource leaks
- Enhanced error handling in agent cleanup to avoid interrupting project close operations
2026-03-04 12:26:19 +08:00
..
2021-04-17 23:34:28 +09:30
2024-10-31 13:06:17 +10:00
2021-08-29 19:23:51 +09:30
2026-02-23 23:26:42 +08:00
2024-07-07 19:04:50 +02:00
2024-04-22 19:08:45 +07:00
2024-05-16 17:53:39 +07:00