From b11d1a2404d1f5a2efdf5bd1f9f6dfe54604892a Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Fri, 13 Mar 2026 14:01:51 +0000 Subject: [PATCH 1/2] Switched toolkit branch to `bug/ipc` and updated FUNCTION_INTERFACE to use RPC with stdio transport. --- Dockerfile | 5 +++-- poetry.lock | 6 +++--- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00b0a00..83ca2ac 100755 --- a/Dockerfile +++ b/Dockerfile @@ -31,5 +31,6 @@ ENV FUNCTION_COMMAND="python" # Args to start the evaluation function with ENV FUNCTION_ARGS="-m,evaluation_function.main" -ENV FUNCTION_INTERFACE="file" -ENV LOG_LEVEL="debug" \ No newline at end of file +ENV FUNCTION_INTERFACE="rpc" +ENV FUNCTION_RPC_TRANSPORT="stdio" +ENV LOG_LEVEL="debug" diff --git a/poetry.lock b/poetry.lock index 464062a..ba8f00a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1254,8 +1254,8 @@ parsing = ["antlr4-python3-runtime (==4.13.2)", "lark (==1.2.2)", "latex2sympy @ [package.source] type = "git" url = "https://github.com/lambda-feedback/toolkit-python.git" -reference = "feature/image-upload" -resolved_reference = "b375d16f0d55dc092fc30b036415a247e2459eea" +reference = "bug/ipc" +resolved_reference = "140cf493bd3ab32aa379953fd4ab940d45cb1ecd" [[package]] name = "markupsafe" @@ -3549,4 +3549,4 @@ cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and pyt [metadata] lock-version = "2.1" python-versions = "^3.12" -content-hash = "346cc77ac7c3ffa2d92dfdef7457a2a808cede7ea7c222462926d78db643f754" +content-hash = "71446a7b56bf3f5e7285956ad48d80330439e34c4a76d27d00ccb4f68df36eb3" diff --git a/pyproject.toml b/pyproject.toml index 4c9f7b0..91a232c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ evaluation_function_dev = "evaluation_function.dev:dev" [tool.poetry.dependencies] python = "^3.12" typing_extensions = "^4.12.2" -lf_toolkit = { git = "https://github.com/lambda-feedback/toolkit-python.git", branch = "feature/image-upload", extras = [ +lf_toolkit = { git = "https://github.com/lambda-feedback/toolkit-python.git", branch = "bug/ipc", extras = [ "ipc", ] } ultralytics = "^8.1.50" From 0c96d6c27bfc7dd72f51c653defb412d6e5e1ae2 Mon Sep 17 00:00:00 2001 From: Marcus Messer Date: Fri, 13 Mar 2026 14:07:54 +0000 Subject: [PATCH 2/2] Updated lf_toolkit to v1.0.2 --- poetry.lock | 6 +++--- pyproject.toml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/poetry.lock b/poetry.lock index ba8f00a..87d1c06 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1254,8 +1254,8 @@ parsing = ["antlr4-python3-runtime (==4.13.2)", "lark (==1.2.2)", "latex2sympy @ [package.source] type = "git" url = "https://github.com/lambda-feedback/toolkit-python.git" -reference = "bug/ipc" -resolved_reference = "140cf493bd3ab32aa379953fd4ab940d45cb1ecd" +reference = "HEAD" +resolved_reference = "fa050db7b941867797f7365970faa1971532397b" [[package]] name = "markupsafe" @@ -3549,4 +3549,4 @@ cffi = ["cffi (>=1.17,<2.0) ; platform_python_implementation != \"PyPy\" and pyt [metadata] lock-version = "2.1" python-versions = "^3.12" -content-hash = "71446a7b56bf3f5e7285956ad48d80330439e34c4a76d27d00ccb4f68df36eb3" +content-hash = "c2182aab7cf74967f0b7b1c3e3400b4baa7f445e6ff6fb85ef3e70a0935aecf0" diff --git a/pyproject.toml b/pyproject.toml index 91a232c..1976833 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ evaluation_function_dev = "evaluation_function.dev:dev" [tool.poetry.dependencies] python = "^3.12" typing_extensions = "^4.12.2" -lf_toolkit = { git = "https://github.com/lambda-feedback/toolkit-python.git", branch = "bug/ipc", extras = [ +lf_toolkit = { git = "https://github.com/lambda-feedback/toolkit-python.git@v1.0.2", extras = [ "ipc", ] } ultralytics = "^8.1.50"