Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions server/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import queue
import atexit

# from .code_task_v1 import run_ai_code_task, _run_ai_code_task_internal
from .code_task_v2 import run_ai_code_task_v2, _run_ai_code_task_v2_internal

# Configure logging
Expand Down Expand Up @@ -47,8 +46,6 @@ def codex_worker():
# Execute the task
if is_v2:
_execute_codex_task_v2(task_id, user_id, github_token)
# else:
# _execute_codex_task_legacy(task_id)

logger.info(f"✅ Codex task {task_id} completed")

Expand Down Expand Up @@ -85,10 +82,6 @@ def _execute_codex_task_v2(task_id: int, user_id: str, github_token: str):
# This will contain the actual execution logic
return _run_ai_code_task_v2_internal(task_id, user_id, github_token)

# def _execute_codex_task_legacy(task_id):
# """Execute legacy Codex task - internal method called by sequential processor"""
# # This will contain the actual execution logic
# return _run_ai_code_task_internal(task_id)

# Cleanup function to stop the worker thread
def cleanup_codex_processor():
Expand Down
Loading