We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac6b526 commit a35a6d6Copy full SHA for a35a6d6
optuna_mcp/server.py
@@ -304,7 +304,9 @@ def get_directions() -> StudyResponse:
304
)
305
306
307
- directions = [d.name.lower() for d in mcp.study.directions]
+ directions: list[typing.Literal["minimize", "maximize"]] = [
308
+ d.name.lower() for d in mcp.study.directions
309
+ ]
310
return StudyResponse(
311
study_name=mcp.study.study_name,
312
directions=directions,
0 commit comments