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
767ba277
Commit
767ba277
authored
Jun 17, 2026
by
Kantz
Browse files
cleanup 2
parent
f65e8af9
Changes
1
Hide whitespace changes
Inline
Side-by-side
math-tutor/backend/app/api/tasks.py
View file @
767ba277
...
@@ -106,12 +106,6 @@ def get_task_asset(asset_path: str) -> FileResponse:
...
@@ -106,12 +106,6 @@ def get_task_asset(asset_path: str) -> FileResponse:
return
FileResponse
(
candidate
)
return
FileResponse
(
candidate
)
@
router
.
get
(
"/api/tasks/config"
)
def
get_task_config
()
->
dict
[
str
,
object
]:
orchestrator
=
config
.
get_orchestrator
()
return
{
"orchestrator"
:
orchestrator
,
"enabled"
:
orchestrator
in
TASK_ORCHESTRATORS
}
@
router
.
get
(
"/api/tasks"
,
response_model
=
TasksResponse
)
@
router
.
get
(
"/api/tasks"
,
response_model
=
TasksResponse
)
def
list_tasks
()
->
TasksResponse
:
def
list_tasks
()
->
TasksResponse
:
orchestrator
=
config
.
get_orchestrator
()
orchestrator
=
config
.
get_orchestrator
()
...
...
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