Skip to content

Commit

Permalink
fix: local ask queue
Browse files Browse the repository at this point in the history
  • Loading branch information
k11kirky committed Nov 15, 2024
1 parent 66f6bb5 commit 2653658
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agentserve/queues/local_task_queue.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# agentserve/local_task_queue.py

import asyncio
from typing import Any, Dict
from typing import Any, Dict, Optional
from .task_queue import TaskQueue
import threading
from ..logging_config import setup_logger
import concurrent.futures

class LocalTaskQueue(TaskQueue):
def __init__(self):
def __init__(self, config: Optional[Dict[str, Any]] = None):
self.logger = setup_logger("agentserve.queue.local")
self.results = {}
self.statuses = {}
Expand Down

0 comments on commit 2653658

Please sign in to comment.