fix bugs related to agent chat, typescript version, predictTitle - #1648
Open
maekawataiki wants to merge 3 commits into
Open
fix bugs related to agent chat, typescript version, predictTitle#1648maekawataiki wants to merge 3 commits into
maekawataiki wants to merge 3 commits into
Conversation
Contributor
|
This PR is stale because it has been open for 30 days with no activity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Changes
3件のバグを修正し、TypeScript バージョンを固定化しました。
Claude Opus 4.5 等の reasoning モデルをデフォルトに設定すると、predictTitle の出力に
タグ等が含まれ、会話履歴のタイトルに内部思考プロセスがそのまま表示されていました。
修正内容: XML タグの除去ロジックを改善し、 タグがある場合はその中身を抽出、ない場合は全 XML タグをグローバルに除去するように変更しました。
TypeScript 5.9 で導入された破壊的変更により、^5.4.5 等のバージョン指定では最新版がインストールされデプロイが失敗していました。
修正内容:
ホーム画面の「Agent チャット」リンクからクエリパラメータ付きで遷移すると、useEffect の依存関係とクエリパラメータの残存により modelId
が再適用され続け、ドロップダウンからのエージェント変更が反映されませんでした。
修正内容:
Checklist
npm run cdk:testand if there are snapshot differences, executenpm run cdk:test:update-snapshotto update snapshotsRelated Issues
#1365
#1594
#1502