chore: Update .gitignore and Makefile for development enhancements
- Added 'logs/' and '*.pid' to .gitignore to exclude log files and process ID files from version control. - Expanded Makefile with new development commands for easier local environment management, including 'dev-start', 'dev-stop', 'dev-restart', 'dev-logs', 'dev-status', 'dev-app', and 'dev-frontend'. - Updated README_CN.md to include instructions for the new development mode and commands for improved developer experience.
This commit is contained in:
@@ -84,6 +84,14 @@ export const useSettingsStore = defineStore("settings", {
|
||||
// Agent 是否启用
|
||||
isAgentEnabled: (state) => state.settings.isAgentEnabled || false,
|
||||
|
||||
// Agent 是否就绪(配置完整)
|
||||
isAgentReady: (state) => {
|
||||
const config = state.settings.agentConfig || defaultSettings.agentConfig
|
||||
return config.thinkingModelId !== '' &&
|
||||
config.rerankModelId !== '' &&
|
||||
config.allowedTools.length > 0
|
||||
},
|
||||
|
||||
// 获取 Agent 配置
|
||||
agentConfig: (state) => state.settings.agentConfig || defaultSettings.agentConfig,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user