Skip to content

Commit

Permalink
Increasing max_queue_size
Browse files Browse the repository at this point in the history
  • Loading branch information
HowieG committed Oct 14, 2024
1 parent f5e8ec3 commit c56147e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agentops/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def init(
be read from the AGENTOPS_API_ENDPOINT environment variable. Defaults to 'https://api.agentops.ai'.
max_wait_time (int, optional): The maximum time to wait in milliseconds before flushing the queue.
Defaults to 5,000 (5 seconds)
max_queue_size (int, optional): The maximum size of the event queue. Defaults to 100.
max_queue_size (int, optional): The maximum size of the event queue. Defaults to 512.
tags (List[str], optional): [Deprecated] Use `default_tags` instead.
default_tags (List[str], optional): Default tags for the sessions that can be used for grouping or sorting later (e.g. ["GPT-4"]).
instrument_llm_calls (bool): Whether to instrument LLM calls and emit LLMEvents.
Expand Down
2 changes: 1 addition & 1 deletion agentops/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(self):
self.parent_key: Optional[str] = None
self.endpoint: str = "https://api.agentops.ai"
self.max_wait_time: int = 5000
self.max_queue_size: int = 100
self.max_queue_size: int = 512
self.default_tags: set[str] = set()
self.instrument_llm_calls: bool = True
self.auto_start_session: bool = True
Expand Down

0 comments on commit c56147e

Please sign in to comment.