diff --git a/docs/README.ja-JP.md b/docs/README.ja-JP.md index 37e41bdd..9ca0a02e 100644 --- a/docs/README.ja-JP.md +++ b/docs/README.ja-JP.md @@ -6,7 +6,7 @@ AI Agent でチャット履歴をローカル分析し、あなたのソーシ [English](../README.md) | [简体中文](./README.zh-CN.md) | [繁體中文](./README.zh-TW.md) | 日本語 -[公式サイト](https://chatlab.fun/ja/) · [ダウンロードガイド](https://chatlab.fun/ja/?type=download) · [ドキュメント](https://chatlab.fun/ja/usage/) · [Roadmap](https://chatlabfun.featurebase.app/roadmap) · [Issue](https://github.com/hellodigua/ChatLab/issues) +[公式サイト](https://chatlab.fun/) · [ダウンロードガイド](https://chatlab.fun/?type=download) · [ドキュメント](https://chatlab.fun/usage/) · [Roadmap](https://chatlabfun.featurebase.app/roadmap) · [Issue](https://github.com/hellodigua/ChatLab/issues) @@ -24,14 +24,14 @@ ChatLab は、チャット履歴を深く理解するためのローカル完結 ## ガイド -- [ChatLab ダウンロードガイド](https://chatlab.fun/ja/?type=download) -- [チャット履歴の書き出しガイド](https://chatlab.fun/ja/usage/how-to-export.html) -- [標準フォーマット仕様](https://chatlab.fun/ja/standard/chatlab-format.html) -- [トラブルシューティング](https://chatlab.fun/ja/usage/troubleshooting.html) +- [ChatLab ダウンロードガイド](https://chatlab.fun/?type=download) +- [チャット履歴の書き出しガイド](https://chatlab.fun/usage/how-to-export.html) +- [標準フォーマット仕様](https://chatlab.fun/standard/chatlab-format.html) +- [トラブルシューティング](https://chatlab.fun/usage/troubleshooting.html) ## プレビュー -その他の画面は公式サイト [chatlab.fun](https://chatlab.fun/ja/) を参照してください。 +その他の画面は公式サイト [chatlab.fun](https://chatlab.fun/) を参照してください。 ![Preview Interface](../public/images/intro_en.png) diff --git a/docs/README.zh-TW.md b/docs/README.zh-TW.md index f5b22088..0c5293cc 100644 --- a/docs/README.zh-TW.md +++ b/docs/README.zh-TW.md @@ -6,7 +6,7 @@ [English](../README.md) | [简体中文](./README.zh-CN.md) | 繁體中文 | [日本語](./README.ja-JP.md) -[官網](https://chatlab.fun/tw/) · [下載指南](https://chatlab.fun/tw/?type=download) · [使用文件](https://chatlab.fun/tw/usage/) · [Roadmap](https://chatlabfun.featurebase.app/roadmap) · [問題回報](https://github.com/hellodigua/ChatLab/issues) +[官網](https://chatlab.fun/cn/) · [下載指南](https://chatlab.fun/cn/?type=download) · [使用文件](https://chatlab.fun/cn/usage/) · [Roadmap](https://chatlabfun.featurebase.app/roadmap) · [問題回報](https://github.com/hellodigua/ChatLab/issues) @@ -24,14 +24,14 @@ ChatLab 是一款專注於社交記錄分析的本機應用。結合 AI Agent ## 使用指南 -- [下載 ChatLab 指南](https://chatlab.fun/tw/?type=download) -- [匯出聊天記錄指南](https://chatlab.fun/tw/usage/how-to-export.html) -- [標準化格式規範](https://chatlab.fun/tw/standard/chatlab-format.html) -- [疑難排解指南](https://chatlab.fun/tw/usage/troubleshooting.html) +- [下載 ChatLab 指南](https://chatlab.fun/cn/?type=download) +- [匯出聊天記錄指南](https://chatlab.fun/cn/usage/how-to-export.html) +- [標準化格式規範](https://chatlab.fun/cn/standard/chatlab-format.html) +- [疑難排解指南](https://chatlab.fun/cn/usage/troubleshooting.html) ## 預覽畫面 -更多畫面請前往官網 [chatlab.fun](https://chatlab.fun/tw/) +更多畫面請前往官網 [chatlab.fun](https://chatlab.fun/cn/) ![預覽畫面](../public/images/intro_zh.png) diff --git a/electron/main/ipc/ai.ts b/electron/main/ipc/ai.ts index bec51ee3..7a01ffc8 100644 --- a/electron/main/ipc/ai.ts +++ b/electron/main/ipc/ai.ts @@ -497,13 +497,18 @@ export function registerAIHandlers({ win }: IpcContext): void { ipcMain.handle( 'llm:validateApiKey', async (_, provider: llm.LLMProvider, apiKey: string, baseUrl?: string, model?: string) => { - console.log('[LLM:validateApiKey] Validating:', { provider, baseUrl, model, apiKeyLength: apiKey?.length }) + aiLogger.info('IPC', 'llm:validateApiKey validating', { + provider, + baseUrl, + model, + apiKeyLength: apiKey?.length, + }) try { const result = await llm.validateApiKey(provider, apiKey, baseUrl, model) - console.log('[LLM:validateApiKey] Result:', result) + aiLogger.info('IPC', 'llm:validateApiKey result', result) return result } catch (error) { - console.error('[LLM:validateApiKey] Validation failed:', error) + aiLogger.error('IPC', 'llm:validateApiKey failed', { error: String(error), provider, baseUrl, model }) const errorMessage = error instanceof Error ? error.message : String(error) return { success: false, error: errorMessage } } diff --git a/src/pages/home/components/ChangelogModal.vue b/src/pages/home/components/ChangelogModal.vue index 127ae363..f2bd1fbb 100644 --- a/src/pages/home/components/ChangelogModal.vue +++ b/src/pages/home/components/ChangelogModal.vue @@ -1,6 +1,7 @@