mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-14 22:52:15 +02:00
refactor(chat): remove unused agent action handlers from NewChatPage component to streamline code and improve maintainability
This commit is contained in:
parent
872065f90d
commit
1d6d7e3eb1
1 changed files with 0 additions and 7 deletions
|
|
@ -1512,8 +1512,6 @@ export default function NewChatPage() {
|
||||||
tokenUsageStore,
|
tokenUsageStore,
|
||||||
pendingUserImageUrls,
|
pendingUserImageUrls,
|
||||||
setPendingUserImageUrls,
|
setPendingUserImageUrls,
|
||||||
upsertAgentAction,
|
|
||||||
updateAgentActionReversible,
|
|
||||||
handleStreamTerminalError,
|
handleStreamTerminalError,
|
||||||
handleChatFailure,
|
handleChatFailure,
|
||||||
persistAssistantTurn,
|
persistAssistantTurn,
|
||||||
|
|
@ -1894,8 +1892,6 @@ export default function NewChatPage() {
|
||||||
messages,
|
messages,
|
||||||
searchSpaceId,
|
searchSpaceId,
|
||||||
tokenUsageStore,
|
tokenUsageStore,
|
||||||
upsertAgentAction,
|
|
||||||
updateAgentActionReversible,
|
|
||||||
handleStreamTerminalError,
|
handleStreamTerminalError,
|
||||||
persistAssistantTurn,
|
persistAssistantTurn,
|
||||||
]
|
]
|
||||||
|
|
@ -2433,9 +2429,6 @@ export default function NewChatPage() {
|
||||||
messageDocumentsMap,
|
messageDocumentsMap,
|
||||||
setMessageDocumentsMap,
|
setMessageDocumentsMap,
|
||||||
tokenUsageStore,
|
tokenUsageStore,
|
||||||
upsertAgentAction,
|
|
||||||
updateAgentActionReversible,
|
|
||||||
markAgentActionReverted,
|
|
||||||
handleStreamTerminalError,
|
handleStreamTerminalError,
|
||||||
persistAssistantTurn,
|
persistAssistantTurn,
|
||||||
persistUserTurn,
|
persistUserTurn,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue