Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
math_tutor_dev
public_math_tutor
Commits
8e5eb489
Commit
8e5eb489
authored
Apr 14, 2026
by
Kantz
Browse files
laden auch am start des Sokrates Modus
parent
2e26ac93
Changes
1
Show whitespace changes
Inline
Side-by-side
math-tutor/frontend/src/pages/ChatPage.tsx
View file @
8e5eb489
...
...
@@ -392,6 +392,7 @@ export default function ChatPage() {
}
let
cancelled
=
false
;
setIsSending
(
true
);
void
(
async
()
=>
{
try
{
const
response
=
await
fetch
(
`/api/chat/bootstrap-socratic`
,
{
...
...
@@ -442,11 +443,16 @@ export default function ChatPage() {
]);
}
void
error
;
}
finally
{
if
(
!
cancelled
)
{
setIsSending
(
false
);
}
}
})();
return
()
=>
{
cancelled
=
true
;
setIsSending
(
false
);
};
},
[
chatSessionId
,
...
...
@@ -748,6 +754,7 @@ export default function ChatPage() {
setMessages
(
initialMessages
);
setDraft
(
""
);
resetDraftHistoryNavigation
();
setIsSending
(
false
);
setDirectChildren
([]);
setTaskChildren
([]);
setIndirectChildren
([]);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment