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
307b3f09
Commit
307b3f09
authored
May 29, 2026
by
Kantz
Browse files
überschreiben der liste an sokratischen themen verhindert
parent
8c565342
Changes
3
Hide whitespace changes
Inline
Side-by-side
math-tutor/docker/docker-compose.yaml
View file @
307b3f09
...
...
@@ -13,7 +13,7 @@ services:
"
CMD"
,
"
python"
,
"
-c"
,
"
import
urllib.request;
urllib.request.urlopen('http://
localhost
:8000/api/health/ready')"
,
"
import
urllib.request;
urllib.request.urlopen('http://
backend-openai
:8000/api/health/ready')"
,
]
interval
:
5s
timeout
:
3s
...
...
@@ -32,7 +32,8 @@ services:
args
:
VITE_API_BASE_URL
:
http://backend-openai:8000
depends_on
:
-
backend-openai
backend-openai
:
condition
:
service_healthy
restart
:
unless-stopped
networks
:
-
web
...
...
math-tutor/frontend/nginx.conf
View file @
307b3f09
...
...
@@ -7,6 +7,15 @@ server {
root
/usr/share/nginx/html
;
index
index.html
;
location
/api/
{
proxy_pass
http://backend-openai:8000
;
proxy_http_version
1
.1
;
proxy_set_header
Host
$host
;
proxy_set_header
X-Real-IP
$remote_addr
;
proxy_set_header
X-Forwarded-For
$proxy_add_x_forwarded_for
;
proxy_set_header
X-Forwarded-Proto
$scheme
;
}
location
/
{
try_files
$uri
$uri
/
/index.html
;
}
...
...
math-tutor/frontend/src/state/tutorSession.tsx
View file @
307b3f09
...
...
@@ -302,13 +302,6 @@ export function TutorSessionProvider({ children }: PropsWithChildren) {
void
initTasks
();
},
[
initTasks
]);
useEffect
(()
=>
{
if
(
!
isTasksInitialized
)
{
return
;
}
void
loadSelectionData
(
selectedOrchestrator
);
},
[
isTasksInitialized
,
loadSelectionData
,
selectedOrchestrator
]);
const
setTaskFile
=
useCallback
(
(
fileId
:
string
)
=>
{
if
(
!
fileId
)
{
...
...
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