Closed tegnike closed 3 months ago
この更新は、コードブロック内の要素がテキスト読み上げ機能(TTS)で読まれない新機能の導入を中心に行われています。さらに、会話の継続モードの情報が更新され、新しい安定モデルが追加されました。複数の言語の翻訳ファイルといくつかのコンポーネントで条件付きレンダリングやスタイルの調整が行われました。
ファイル | 変更内容の概要 |
---|---|
README.md | TTS機能でコードブロックが読まれないことについて記載 |
docs/README_(en, ko, zh).md | TTS機能におけるコードブロックの説明を追加 |
locales/en/translation.json | 会話継続モード情報の更新、新しいモデル追加 |
locales/ja/translation.json | 会話継続モード情報の更新、新しいモデル追加 |
locales/ko/translation.json | 会話継続モード情報の更新、新しいモデル追加 |
locales/zh/translation.json | 会話継続モード情報の更新、新しいモデル追加 |
src/components/chatLog.tsx | CSSクラスの変更、コードブロックの条件付きレンダリングの追加 |
src/components/messageInput.tsx | ローディングアニメーションの追加、条件付きプレースホルダー更新 |
src/components/settings.tsx | Anthropic対応に伴いボタンの無効化条件を変更 |
src/features/chat/anthropicChat.ts | 返却データを特定のメッセージテキストに変更 |
src/features/chat/openAiChat.ts | エラーメッセージから絵文字を除去 |
src/features/youtube/conversationContinuityFunctions.ts | AIサービスに基づいた新しいfetchAIResponse関数の追加、パラメータの更新 |
src/features/youtube/youtubeComments.ts | 関数呼び出しにselectAIServiceパラメータを追加 |
src/pages/index.tsx | メッセージ処理ロジックの変更、タグとレスポンスの分離、コードブロックの処理 |
🌸 ラビットの詩 🌸
コードの海へ飛び込み、 バグも消えて気持ちは軽い。 会話続くよ、夜が明けるまで、 耳を立てて、変化を待つ。 新しい機能、バニーホップ! 世界の言葉も一つとなり、 楽しい未来へ、コードとともに。
Summary by CodeRabbit
新機能
バグ修正
MessageInput
コンポーネントにて、チャット処理中にローディングドットを表示するアニメーションを追加。翻訳
リファクタ
ChatLog
コンポーネントのスタイルと構造を調整し、コードスニペットの表示を条件付きで変更。