- Add onMessageReset reference comparison to OptimizedMessageActions memo - Force component re-render when model selection changes - Prevent stale closure issue in retry functionality - Ensure first retry attempt uses newly selected model Previously, when changing the model selection, the retry button would still use the previous model due to React memo optimization preventing re-renders. By comparing the onMessageReset callback reference, the component now properly updates when the model changes, ensuring the retry functionality immediately uses the currently selected model.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| common | Loading commit data... | |
| playground | Loading commit data... | |
| AuthRedirect.js | Loading commit data... | |
| ChannelsTable.js | Loading commit data... | |
| Footer.js | Loading commit data... | |
| HeaderBar.js | Loading commit data... | |
| Loading.js | Loading commit data... | |
| LoginForm.js | Loading commit data... | |
| LogsTable.js | Loading commit data... | |
| MjLogsTable.js | Loading commit data... | |
| ModelPricing.js | Loading commit data... | |
| ModelSetting.js | Loading commit data... | |
| NoticeModal.js | Loading commit data... | |
| OAuth2Callback.js | Loading commit data... | |
| OperationSetting.js | Loading commit data... | |
| OtherSetting.js | Loading commit data... | |
| PageLayout.js | Loading commit data... | |
| PasswordResetConfirm.js | Loading commit data... | |
| PasswordResetForm.js | Loading commit data... | |
| PersonalSetting.js | Loading commit data... | |
| PrivateRoute.js | Loading commit data... | |
| RateLimitSetting.js | Loading commit data... | |
| RedemptionsTable.js | Loading commit data... | |
| RegisterForm.js | Loading commit data... | |
| SetupCheck.js | Loading commit data... | |
| SiderBar.js | Loading commit data... | |
| SystemSetting.js | Loading commit data... | |
| TaskLogsTable.js | Loading commit data... | |
| TokensTable.js | Loading commit data... | |
| UsersTable.js | Loading commit data... | |
| fetchTokenKeys.js | Loading commit data... | |
| utils.js | Loading commit data... |