♻️ (api) Auto start bot if starting with input
Closes #877, closes #884
This commit is contained in:
@@ -57,7 +57,7 @@ export const sendMessage = publicProcedure
|
||||
logs,
|
||||
clientSideActions,
|
||||
newSessionState,
|
||||
} = await startSession({ startParams, userId: user?.id })
|
||||
} = await startSession({ startParams, userId: user?.id, message })
|
||||
|
||||
const allLogs = clientLogs ? [...(logs ?? []), ...clientLogs] : logs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user