Skip to content

Commit ef783ed

Browse files
Merge pull request #36 from lambda-feedback/file-fix
refactor: comment out file-based communication logic in main function…
2 parents 90b0202 + aa7c0e4 commit ef783ed

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

evaluation_function/main.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@ def main():
105105
- If 2+ args provided: File-based communication (last 2 args are input/output paths)
106106
- Otherwise: RPC/IPC server mode using lf_toolkit
107107
"""
108-
# Check for file-based communication
109-
# shimmy passes input and output file paths as the last two arguments
110-
if len(sys.argv) >= 3:
111-
input_path = sys.argv[-2]
112-
output_path = sys.argv[-1]
108+
# # Check for file-based communication
109+
# # shimmy passes input and output file paths as the last two arguments
110+
# if len(sys.argv) >= 3:
111+
# input_path = sys.argv[-2]
112+
# output_path = sys.argv[-1]
113113

114-
# Verify they look like file paths (basic check)
115-
if not input_path.startswith('-') and not output_path.startswith('-'):
116-
handle_file_based_communication(input_path, output_path)
117-
return
114+
# # Verify they look like file paths (basic check)
115+
# if not input_path.startswith('-') and not output_path.startswith('-'):
116+
# handle_file_based_communication(input_path, output_path)
117+
# return
118118

119119
# Fall back to RPC/IPC server mode
120120
server = create_server()

0 commit comments

Comments
 (0)