🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
Python agentai-societiesartificial-intelligencecommunicative-aicooperative-aideep-learninglarge-language-modelsmulti-agent-systemsnatural-language-processing
feat: Workforce support parallelization to further improve efficiency (#2683)
Wendong-Fandc69107a080f
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex ed26c5dac..0010c95d1 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -26,7 +26,7 @@ body:attributes:label: What version of camel are you using?description: Run command `python3 -c 'print(__import__("camel").__version__)'` in your shell and paste the output here.- placeholder: E.g., 0.2.67+ placeholder: E.g., 0.2.68validations:required: truediff --git a/camel/__init__.py b/camel/__init__.pyindex 895aa1b93..1cccd6f2c 100644--- a/camel/__init__.py+++ b/camel/__init__.py@@ -14,7 +14,7 @@from camel.logger import disable_logging, enable_logging, set_log_level-__version__ = '0.2.67'+__version__ = '0.2.68'__all__ = ['__version__',diff --git a/camel/environments/rlcards_env.py b/camel/environments/rlcards_env.pyindex 362006b19..ad5e5fa5b 100644--- a/camel/environments/rlcards_env.py+++ b/camel/environments/rlcards_env.py@@ -14,11 +14,10 @@import refrom abc import abstractmethod-from typing import Any, Dict, List, Optional, Tuple+from typing import TYPE_CHECKING, Any, Dict, List, Optional, Tuple-# rlcard doesn't come with type hints-import rlcard # type: ignore[import-untyped]-from rlcard.agents import RandomAgent # type: ignore[import-untyped]+if TYPE_CHECKING:+ from rlcard.agents import RandomAgentfrom camel.environments.models import Action, Observationfrom camel.environments.multi_step import MultiStepEnv@@ -106,6 +105,8 @@ class RLCardsEnv(MultiStepEnv):This method initializes the RLCard environment with the specified gameand parameters."""+ import rlcard+try:# Create the RLCard environmentself.rlcard_env = rlcard.make(diff --git a/camel/societies/workforce/prompts.py b/camel/societies/workforce/prompts.pyindex 53942c320..11aa852ae 100644--- a/camel/societies/workforce/prompts.py+++ b/camel/societies/workforce/prompts.py@@ -183,11 +183,43 @@ Now you should summarize the scenario and return the result of the task.""")-WF_TASK_DECOMPOSE_PROMPT = r"""You need to decompose the given task into subtasks according to the workers available in the group, following these important principles:+WF_TASK_DECOMPOSE_PROMPT = r"""You need to decompose the given task into subtasks according to the workers available in the group, following these important principles to maximize efficiency and parallelism:-1. Keep tasks that are sequential and require the same type of worker together in one subtask-2. Only decompose tasks that can be handled in parallel and require different types of workers-3. This ensures efficient execution by minimizing context switching between workers+1. **Strategic Grouping for Sequential Work**:+ * If a series of steps must be done in order *and* can be handled by the same worker type, group them into a single subtask to maintain flow and minimize handoffs.++2. **Aggressive Parallelization**:+ * **Across Different Worker Specializations**: If distinct phases of the overall task require different types of workers (e.g., research by a 'SearchAgent', then content creation by a 'DocumentAgent'), define these as separate subtasks.+ * **Within a Single Phase (Data/Task Parallelism)**: If a phase involves repetitive operations on multiple items (e.g., processing 10 documents, fetching 5 web pages, analyzing 3 datasets):+ * Decompose this into parallel subtasks, one for each item or a small batch of items.+ * This applies even if the same type of worker handles these parallel subtasks. The goal is to leverage multiple available workers or allow concurrent processing.++3. **Subtask Design for Efficiency**:+ * **Actionable and Well-Defined**: Each subtask should have a clear, achievable goal.+ * **Balanced Granularity**: Make subtasks large enough to be meaningful but small enough to enable parallelism and quick feedback. Avoid overly large subtasks that hide parallel opportunities.+ * **Consider Dependencies**: While you list tasks sequentially, think about the true dependencies. The workforce manager will handle execution based on these implied dependencies and worker availability.++These principles aim to reduce overall completion time by maximizing concurrent work and effectively utilizing all available worker capabilities.++**EXAMPLE FORMAT ONLY** (DO NOT use this example content for actual task decomposition):++If given a hypothetical task requiring research, analysis, and reporting with multiple items to process, you should decompose it to maximize parallelism:++* Poor decomposition (monolithic):+ `<tasks><task>Do all research, analysis, and write final report.</task></tasks>`++* Better decomposition (parallel structure):+ ```+ <tasks>+ <task>Subtask 1 (ResearchAgent): Gather initial data and resources.</task>+ <task>Subtask 2.1 (AnalysisAgent): Analyze Item A from Subtask 1 results.</task>+ <task>Subtask 2.2 (AnalysisAgent): Analyze Item B from Subtask 1 results.</task>+ <task>Subtask 2.N (AnalysisAgent): Analyze Item N from Subtask 1 results.</task>+ <task>Subtask 3 (ReportAgent): Compile all analyses into final report.</task>+ </tasks>+ ```++**END OF FORMAT EXAMPLE** - Now apply this structure to your actual task below.The content of the task is:@@ -208,7 +240,7 @@ Following are the available workers, given in the format <ID>: <description>.{child_nodes_info}==============================-You must return the subtasks in the format of a numbered list within <tasks> tags, as shown below:+You must return the subtasks as a list of individual subtasks within <tasks> tags. If your decomposition, following the principles and detailed example above (e.g., for summarizing multiple papers), results in several parallelizable actions, EACH of those actions must be represented as a separate <task> entry. For instance, the general format is:<tasks><task>Subtask 1</task>diff --git a/camel/societies/workforce/single_agent_worker.py b/camel/societies/workforce/single_agent_worker.pyindex 1bf235889..cf3000914 100644--- a/camel/societies/workforce/single_agent_worker.py+++ b/camel/societies/workforce/single_agent_worker.py@@ -32,15 +32,22 @@ class SingleAgentWorker(Worker):Args:description (str): Description of the node.worker (ChatAgent): Worker of the node. A single agent.+ max_concurrent_tasks (int): Maximum number of tasks this worker can+ process concurrently. (default: :obj:`10`)"""def __init__(self,description: str,worker: ChatAgent,+ max_concurrent_tasks: int = 10,) -> None:node_id = worker.agent_id- super().__init__(description, node_id=node_id)+ super().__init__(+ description,+ node_id=node_id,+ max_concurrent_tasks=max_concurrent_tasks,+ )self.worker = workerdef reset(self) -> Any:@@ -51,11 +58,12 @@ class SingleAgentWorker(Worker):async def _process_task(self, task: Task, dependencies: List[Task]) -> TaskState:- r"""Processes a task with its dependencies.+ r"""Processes a task with its dependencies using a cloned agent.This method asynchronously processes a given task, considering its- dependencies, by sending a generated prompt to a worker. It updates- the task's result based on the agent's response.+ dependencies, by sending a generated prompt to a cloned worker agent.+ Using a cloned agent ensures that concurrent tasks don't interfere+ with each other's state.Args:task (Task): The task to process, which includes necessary details@@ -66,6 +74,10 @@ class SingleAgentWorker(Worker):TaskState: `TaskState.DONE` if processed successfully, otherwise`TaskState.FAILED`."""+ # Clone the agent for this specific task to avoid state conflicts+ # when processing multiple tasks concurrently+ worker_agent = self.worker.clone(with_memory=False)+dependency_tasks_info = self._get_dep_tasks_info(dependencies)prompt = PROCESS_TASK_PROMPT.format(content=task.content,@@ -73,7 +85,7 @@ class SingleAgentWorker(Worker):additional_info=task.additional_info,)try:- response = await self.worker.astep(+ response = await worker_agent.astep(prompt, response_format=TaskResult)except Exception as e:@@ -83,6 +95,13 @@ class SingleAgentWorker(Worker):)return TaskState.FAILED+ # Get actual token usage from the cloned agent that processed this task+ try:+ _, total_token_count = worker_agent.memory.get_context()+ except Exception:+ # Fallback if memory context unavailable+ total_token_count = 0+# Populate additional_info with worker attempt detailsif task.additional_info is None:task.additional_info = {}@@ -90,14 +109,20 @@ class SingleAgentWorker(Worker):# Create worker attempt details with descriptive keysworker_attempt_details = {"agent_id": getattr(+ worker_agent, "agent_id", worker_agent.role_name+ ),+ "original_worker_id": getattr(self.worker, "agent_id", self.worker.role_name),"timestamp": str(datetime.datetime.now()),"description": f"Attempt by "- f"{getattr(self.worker, 'agent_id', self.worker.role_name)} "+ f"{getattr(worker_agent, 'agent_id', worker_agent.role_name)} "+ f"(cloned from "+ f"{getattr(self.worker, 'agent_id', self.worker.role_name)}) "f"to process task {task.content}","response_content": response.msg.content,"tool_calls": response.info["tool_calls"],+ "total_token_count": total_token_count,}# Store the worker attempt in additional_info@@ -105,6 +130,11 @@ class SingleAgentWorker(Worker):task.additional_info["worker_attempts"] = []task.additional_info["worker_attempts"].append(worker_attempt_details)+ # Store the actual token usage for this specific task+ task.additional_info["token_usage"] = {+ "total_tokens": total_token_count+ }+print(f"======\n{Fore.GREEN}Reply from {self}:{Fore.RESET}")result_dict = json.loads(response.msg.content)diff --git a/camel/societies/workforce/task_channel.py b/camel/societies/workforce/task_channel.pyindex db1ea6f86..84bc10cd9 100644--- a/camel/societies/workforce/task_channel.py+++ b/camel/societies/workforce/task_channel.py@@ -23,6 +23,8 @@ class PacketStatus(Enum):states:- ``SENT``: The packet has been sent to a worker.+ - ``PROCESSING``: The packet has been claimed by a worker and is being+ processed.- ``RETURNED``: The packet has been returned by the worker, meaning thatthe status of the task inside has been updated.- ``ARCHIVED``: The packet has been archived, meaning that the content of@@ -31,6 +33,7 @@ class PacketStatus(Enum):"""SENT = "SENT"+ PROCESSING = "PROCESSING"RETURNED = "RETURNED"ARCHIVED = "ARCHIVED"@@ -97,8 +100,9 @@ class TaskChannel:await self._condition.wait()async def get_assigned_task_by_assignee(self, assignee_id: str) -> Task:- r"""Get a task from the channel that has been assigned to the- assignee.+ r"""Atomically get and claim a task from the channel that has been+ assigned to the assignee. This prevents race conditions where multiple+ concurrent calls might retrieve the same task."""async with self._condition:while True:@@ -107,6 +111,9 @@ class TaskChannel:packet.status == PacketStatus.SENTand packet.assignee_id == assignee_id):+ # Atomically claim the task by changing its status+ packet.status = PacketStatus.PROCESSING+ self._condition.notify_all()return packet.taskawait self._condition.wait()diff --git a/camel/societies/workforce/worker.py b/camel/societies/workforce/worker.pyindex 899e14eb8..af415bb03 100644--- a/camel/societies/workforce/worker.py+++ b/camel/societies/workforce/worker.py@@ -13,9 +13,10 @@# ========= Copyright 2023-2024 @ CAMEL-AI.org. All Rights Reserved. =========from __future__ import annotations+import asyncioimport loggingfrom abc import ABC, abstractmethod-from typing import List, Optional+from typing import List, Optional, Setfrom colorama import Fore@@ -35,14 +36,19 @@ class Worker(BaseNode, ABC):description (str): Description of the node.node_id (Optional[str]): ID of the node. If not provided, it willbe generated automatically. (default: :obj:`None`)+ max_concurrent_tasks (int): Maximum number of tasks this worker can+ process concurrently. (default: :obj:`10`)"""def __init__(self,description: str,node_id: Optional[str] = None,+ max_concurrent_tasks: int = 10,) -> None:super().__init__(description, node_id=node_id)+ self.max_concurrent_tasks = max_concurrent_tasks+ self._active_task_ids: Set[str] = set()def __repr__(self):return f"Worker node {self.node_id} ({self.description})"@@ -60,7 +66,7 @@ class Worker(BaseNode, ABC):passasync def _get_assigned_task(self) -> Task:- r"""Get the task assigned to this node from the channel."""+ r"""Get a task assigned to this node from the channel."""return await self._channel.get_assigned_task_by_assignee(self.node_id)@staticmethod@@ -77,20 +83,10 @@ class Worker(BaseNode, ABC):def set_channel(self, channel: TaskChannel):self._channel = channel- @check_if_running(False)- async def _listen_to_channel(self):- """Continuously listen to the channel, process the task that are- assigned to this node, and update the result and status of the task.-- This method should be run in an event loop, as it will run- indefinitely.- """- self._running = True- logger.info(f"{self} started.")-- while True:- # Get the earliest task assigned to this node- task = await self._get_assigned_task()+ async def _process_single_task(self, task: Task) -> None:+ r"""Process a single task and handle its completion/failure."""+ try:+ self._active_task_ids.add(task.id)print(f"{Fore.YELLOW}{self} get task {task.id}: {task.content}"f"{Fore.RESET}"@@ -109,6 +105,92 @@ class Worker(BaseNode, ABC):task.set_state(task_state)await self._channel.return_task(task.id)+ except Exception as e:+ logger.error(f"Error processing task {task.id}: {e}")+ task.set_state(TaskState.FAILED)+ await self._channel.return_task(task.id)+ finally:+ self._active_task_ids.discard(task.id)++ @check_if_running(False)+ async def _listen_to_channel(self):+ r"""Continuously listen to the channel, process tasks that are+ assigned to this node concurrently up to max_concurrent_tasks limit.++ This method supports parallel task execution when multiple tasks+ are assigned to the same worker.+ """+ self._running = True+ logger.info(+ f"{self} started with max {self.max_concurrent_tasks} "+ f"concurrent tasks."+ )++ # Keep track of running task coroutines+ running_tasks: Set[asyncio.Task] = set()++ while self._running:+ try:+ # Clean up completed tasks+ completed_tasks = [t for t in running_tasks if t.done()]+ for completed_task in completed_tasks:+ running_tasks.remove(completed_task)+ # Check for exceptions in completed tasks+ try:+ await completed_task+ except Exception as e:+ logger.error(f"Task processing failed: {e}")++ # Check if we can accept more tasks+ if len(running_tasks) < self.max_concurrent_tasks:+ try:+ # Try to get a new task (with short timeout to avoid+ # blocking)+ task = await asyncio.wait_for(+ self._get_assigned_task(), timeout=1.0+ )++ # Create and start processing task+ task_coroutine = asyncio.create_task(+ self._process_single_task(task)+ )+ running_tasks.add(task_coroutine)++ except asyncio.TimeoutError:+ # No tasks available, continue loop+ if not running_tasks:+ # No tasks running and none available, short sleep+ await asyncio.sleep(0.1)+ continue+ else:+ # At max capacity, wait for at least one task to complete+ if running_tasks:+ done, running_tasks = await asyncio.wait(+ running_tasks, return_when=asyncio.FIRST_COMPLETED+ )+ # Process completed tasks+ for completed_task in done:+ try:+ await completed_task+ except Exception as e:+ logger.error(f"Task processing failed: {e}")++ except Exception as e:+ logger.error(+ f"Error in worker {self.node_id} listen loop: {e}"+ )+ await asyncio.sleep(0.1)+ continue++ # Wait for all remaining tasks to complete when stopping+ if running_tasks:+ logger.info(+ f"{self} stopping, waiting for {len(running_tasks)} "+ f"tasks to complete..."+ )+ await asyncio.gather(*running_tasks, return_exceptions=True)++ logger.info(f"{self} stopped.")@check_if_running(False)async def start(self):diff --git a/camel/societies/workforce/workforce.py b/camel/societies/workforce/workforce.pyindex ee099ed62..81700b8b1 100644--- a/camel/societies/workforce/workforce.py+++ b/camel/societies/workforce/workforce.py@@ -995,18 +995,25 @@ class Workforce(BaseNode):@check_if_running(False)def add_single_agent_worker(- self, description: str, worker: ChatAgent+ self,+ description: str,+ worker: ChatAgent,+ max_concurrent_tasks: int = 10,) -> Workforce:r"""Add a worker node to the workforce that uses a single agent.Args:description (str): Description of the worker node.worker (ChatAgent): The agent to be added.+ max_concurrent_tasks (int): Maximum number of tasks this worker can+ process concurrently. (default: :obj:`10`)Returns:Workforce: The workforce node itself."""- worker_node = SingleAgentWorker(description, worker)+ worker_node = SingleAgentWorker(+ description, worker, max_concurrent_tasks+ )self._children.append(worker_node)if self.metrics_logger:self.metrics_logger.log_worker_created(@@ -1235,6 +1242,7 @@ class Workforce(BaseNode):new_node = SingleAgentWorker(description=new_node_conf.description,worker=new_agent,+ max_concurrent_tasks=10, # TODO: make this configurable)new_node.set_channel(self._channel)@@ -1464,25 +1472,32 @@ class Workforce(BaseNode):'processing_time_seconds']- # Get token usage from task additional info+ # Get token usage from task additional info (preferred - actual+ # usage)if (task.additional_info is not Noneand 'token_usage' in task.additional_info):token_usage = task.additional_info['token_usage']-- # Try to get token usage from SingleAgentWorker memory if available- assignee_node = next(- (- child- for child in self._children- if child.node_id == worker_id- ),- None,- )- if isinstance(assignee_node, SingleAgentWorker):- _, total_tokens = assignee_node.worker.memory.get_context()- token_usage = {'total_tokens': total_tokens}+ else:+ # Fallback: Try to get token usage from SingleAgentWorker+ # memory+ assignee_node = next(+ (+ child+ for child in self._children+ if child.node_id == worker_id+ ),+ None,+ )+ if isinstance(assignee_node, SingleAgentWorker):+ try:+ _, total_tokens = (+ assignee_node.worker.memory.get_context()+ )+ token_usage = {'total_tokens': total_tokens}+ except Exception:+ token_usage = None# Log the completed taskself.metrics_logger.log_task_completed(@@ -1780,7 +1795,9 @@ class Workforce(BaseNode):if isinstance(child, SingleAgentWorker):cloned_worker = child.worker.clone(with_memory)new_instance.add_single_agent_worker(- child.description, cloned_worker+ child.description,+ cloned_worker,+ child.max_concurrent_tasks,)elif isinstance(child, RolePlayingWorker):new_instance.add_role_playing_worker(@@ -1791,6 +1808,7 @@ class Workforce(BaseNode):child.user_agent_kwargs,child.summarize_agent_kwargs,child.chat_turn_limit,+ child.max_concurrent_tasks,)elif isinstance(child, Workforce):new_instance.add_workforce(child.clone(with_memory))@@ -1884,7 +1902,7 @@ class Workforce(BaseNode):)try:- result_task = await workforce_instance.process_task(task)+ result_task = await workforce_instance.process_task_async(task)return {"status": "success","task_id": result_task.id,diff --git a/docs/conf.py b/docs/conf.pyindex ef2bb0561..73ab26ea4 100644--- a/docs/conf.py+++ b/docs/conf.py@@ -27,7 +27,7 @@ sys.path.insert(0, os.path.abspath('..'))project = 'CAMEL'copyright = '2024, CAMEL-AI.org'author = 'CAMEL-AI.org'-release = '0.2.67'+release = '0.2.68'html_favicon = ('https://raw.githubusercontent.com/camel-ai/camel/master/misc/favicon.png'diff --git a/examples/workforce/eigent.py b/examples/workforce/eigent.pyindex 85cd51a8f..efbd60dd8 100644--- a/examples/workforce/eigent.py+++ b/examples/workforce/eigent.py@@ -344,8 +344,8 @@ async def main():# Create a single model backend for all agentsmodel_backend = ModelFactory.create(- model_platform=ModelPlatformType.ANTHROPIC,- model_type=ModelType.CLAUDE_SONNET_4,+ model_platform=ModelPlatformType.OPENAI,+ model_type=ModelType.GPT_4_1_MINI,# model_config_dict={# "max_tokens": 64000,# }@@ -353,7 +353,7 @@ async def main():model_backend_reason = ModelFactory.create(model_platform=ModelPlatformType.OPENAI,- model_type=ModelType.O3_MINI,+ model_type=ModelType.GPT_4_1_MINI,# model_config_dict={# "max_tokens": 64000,# }@@ -404,7 +404,9 @@ async def main():I want to read papers about GUI Agent. Please help me findten papers, check the detailed content of the papers and helpme write a comparison report, then create a nice slides(pptx)- to introduce the latest research progress of GUI Agent.+ to introduce the latest research progress of GUI Agent. The+ slides should be very comprehensive and+ professional."""),id='0',@@ -426,7 +428,6 @@ async def main():print(f"\n--- Dumping Workforce Logs to {log_file_path} ---")workforce.dump_workforce_logs(log_file_path)print(f"Logs dumped. Please check the file: {log_file_path}")-finally:await playwright_toolkit.disconnect() # Disconnect the same instancediff --git a/pyproject.toml b/pyproject.tomlindex 1abe8f28a..b9a01a9f6 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "hatchling.build"[project]name = "camel-ai"-version = "0.2.67"+version = "0.2.68"description = "Communicative Agents for AI Society Study"authors = [{ name = "CAMEL-AI.org" }]requires-python = ">=3.10,<3.13"@@ -31,7 +31,6 @@ dependencies = ["httpx>=0.28.0,<1.0.0dev","psutil>=5.9.8,<6","pillow>=10.1.0,<11.0.0",- "rlcard>=1.0.0,<1.3.0",]@@ -376,6 +375,7 @@ all = ["python-pptx>=1.0.2","langfuse>=2.60.5","Flask>=2.0",+ "rlcard>=1.0.0,<1.3.0",]@@ -578,6 +578,7 @@ module = ["torch.*","sentence_transformers.*","cv2",+ "rlcard.*",]ignore_missing_imports = truediff --git a/uv.lock b/uv.lockindex 1d3e12fa3..cbc003e11 100644--- a/uv.lock+++ b/uv.lock@@ -560,7 +560,7 @@ wheels = [[[package]]name = "camel-ai"-version = "0.2.67"+version = "0.2.68"source = { editable = "." }dependencies = [{ name = "colorama" },@@ -572,7 +572,6 @@ dependencies = [{ name = "pillow" },{ name = "psutil" },{ name = "pydantic" },- { name = "rlcard" },{ name = "tiktoken" },]@@ -667,6 +666,7 @@ all = [{ name = "redis" },{ name = "reka-api" },{ name = "requests-oauthlib" },+ { name = "rlcard" },{ name = "rouge" },{ name = "scenedetect" },{ name = "scholarly", extra = ["tor"] },@@ -1158,7 +1158,7 @@ requires-dist = [{ name = "requests-oauthlib", marker = "extra == 'all'", specifier = ">=1.3.1,<2" },{ name = "requests-oauthlib", marker = "extra == 'owl'", specifier = ">=1.3.1,<2" },{ name = "requests-oauthlib", marker = "extra == 'web-tools'", specifier = ">=1.3.1,<2" },- { name = "rlcard", specifier = ">=1.0.0,<1.3.0" },+ { name = "rlcard", marker = "extra == 'all'", specifier = ">=1.0.0,<1.3.0" },{ name = "rouge", marker = "extra == 'all'", specifier = ">=1.0.1,<2" },{ name = "rouge", marker = "extra == 'data-tools'", specifier = ">=1.0.1,<2" },{ name = "rouge", marker = "extra == 'owl'", specifier = ">=1.0.1,<2" },@@ -2069,7 +2069,7 @@ wheels = [[[package]]name = "exa-py"-version = "1.14.7"+version = "1.14.9"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "httpx" },@@ -2078,9 +2078,9 @@ dependencies = [{ name = "requests" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/34/7f/05c67309ecad5ede4d9247c3ca912c596277a65b0f97c38af2eef2135bc9/exa_py-1.14.7.tar.gz", hash = "sha256:7889ef58ac0cc287fa7275eefd3834984efb1eb40724b15e0dd021106f944c83", size = 30867 }+sdist = { url = "https://files.pythonhosted.org/packages/33/12/d84aae5dabee2cb10651c0d3a05cde2937b73f7221eee6f842b333471111/exa_py-1.14.9.tar.gz", hash = "sha256:b33f591bf0eb23aada26928a659f41e45bb70f276325fead20a6edca600e7a7f", size = 41455 }wheels = [- { url = "https://files.pythonhosted.org/packages/03/73/503787a12a30eac2e19d9f34b8a9fe2611d83ab8536ed7bbaba957129e02/exa_py-1.14.7-py3-none-any.whl", hash = "sha256:8192e2eddd49c3cda9d3a1b7ef076af1cab764149f0d3e4ca5084eb3dc8e55cc", size = 39434 },+ { url = "https://files.pythonhosted.org/packages/d3/37/2a77e76372278ab0db4b10f5568221f15e5f9324a6e62e9424db40fddc88/exa_py-1.14.9-py3-none-any.whl", hash = "sha256:68d23fa5fccbfec276f2867f88e4f2134356dc075c02ae2da969d80aa978540a", size = 38966 },][[package]]@@ -2999,18 +2999,18 @@ wheels = [[[package]]name = "ibm-cos-sdk"-version = "2.13.5"+version = "2.14.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "ibm-cos-sdk-core" },{ name = "ibm-cos-sdk-s3transfer" },{ name = "jmespath" },]-sdist = { url = "https://files.pythonhosted.org/packages/e4/e6/908791df6fd31d94e80be9597242eac2b942c28b0d4ea1fc6b963d4a6be3/ibm-cos-sdk-2.13.5.tar.gz", hash = "sha256:1aff7f9863ac9072a3db2f0053bec99478b26f3fb5fa797ce96a15bbb13cd40e", size = 58638 }+sdist = { url = "https://files.pythonhosted.org/packages/08/0f/976e187ba09f5efee94a371f0d65edca82714975de7e71bf6ad8d30f20a7/ibm_cos_sdk-2.14.2.tar.gz", hash = "sha256:d859422c1dfd03e52cd66acbb2b45b4c944a390725c3a91d4a8e003f0cfc4e4b", size = 58847 }[[package]]name = "ibm-cos-sdk-core"-version = "2.13.5"+version = "2.14.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "jmespath" },@@ -3018,20 +3018,20 @@ dependencies = [{ name = "requests" },{ name = "urllib3" },]-sdist = { url = "https://files.pythonhosted.org/packages/c7/ff/cabdf3d7892c3607297ffb7d77c3caafe2f50f876d29e90c44ac67495cef/ibm-cos-sdk-core-2.13.5.tar.gz", hash = "sha256:d3a99d8b06b3f8c00b1a9501f85538d592463e63ddf8cec32672ab5a0b107b83", size = 1101815 }+sdist = { url = "https://files.pythonhosted.org/packages/a5/db/e913f210d66c2ad09521925f29754fb9b7240da11238a29a0186ebad4ffa/ibm_cos_sdk_core-2.14.2.tar.gz", hash = "sha256:d594b2af58f70e892aa3b0f6ae4b0fa5d412422c05beeba083d4561b5fad91b4", size = 1103504 }[[package]]name = "ibm-cos-sdk-s3transfer"-version = "2.13.5"+version = "2.14.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "ibm-cos-sdk-core" },]-sdist = { url = "https://files.pythonhosted.org/packages/6d/42/f2faefd0c3360928336b93a14db2aff25f556aa50252188efd1ba363e371/ibm-cos-sdk-s3transfer-2.13.5.tar.gz", hash = "sha256:9649b1f2201c6de96ff5a6b5a3686de3a809e6ef3b8b12c7c4f2f7ce72da7749", size = 139491 }+sdist = { url = "https://files.pythonhosted.org/packages/8e/ca/3c4c48c2a180e3410d08b400435b72648e6630c2d556beb126b7a21a78d7/ibm_cos_sdk_s3transfer-2.14.2.tar.gz", hash = "sha256:01d1cb14c0decaeef273979da7a13f7a874f1d4c542ff3ae0a186c7b090569bc", size = 139579 }[[package]]name = "ibm-watsonx-ai"-version = "1.3.24"+version = "1.3.26"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "certifi" },@@ -3044,9 +3044,9 @@ dependencies = [{ name = "tabulate" },{ name = "urllib3" },]-sdist = { url = "https://files.pythonhosted.org/packages/88/f9/59823b9eaecb26d00146230df08ac15f76f8c4ebda26466edea1a64d04b3/ibm_watsonx_ai-1.3.24.tar.gz", hash = "sha256:552f72c126c0c2884403d65151a99ba088ade3013b71d5f009864bcd77bad711", size = 733001 }+sdist = { url = "https://files.pythonhosted.org/packages/c1/06/f9a8e0fc2c39a8071bbc4b1e28b1d3dbda1441ba598fc8608cfc8bf69f94/ibm_watsonx_ai-1.3.26.tar.gz", hash = "sha256:e7953f4a552d1724c11ffbae999fa87153cc8e56e0cdb12ff536b0b5237d0929", size = 740974 }wheels = [- { url = "https://files.pythonhosted.org/packages/66/f2/696ccc7afd92c683bd464a3b25e0e2ff96a04d97aa27daf543be21100253/ibm_watsonx_ai-1.3.24-py3-none-any.whl", hash = "sha256:52534c0007622d86bf16ae93a9c8e02e3a545f1ca6a7240ba9750d41a7fc2abb", size = 1140040 },+ { url = "https://files.pythonhosted.org/packages/3b/97/7623e777f46ac00863592ed7334bba8174c24c46fdde0df053a8bd08606f/ibm_watsonx_ai-1.3.26-py3-none-any.whl", hash = "sha256:f891efd39e90f20d16db2c3eb5d6d690f8c4263eb9423fbd2a91f59d8927e6d7", size = 1149090 },][[package]]@@ -3476,7 +3476,7 @@ sdist = { url = "https://files.pythonhosted.org/packages/0e/72/a3add0e4eec4eb9e2[[package]]name = "langfuse"-version = "3.0.2"+version = "3.0.3"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "backoff" },@@ -3489,9 +3489,9 @@ dependencies = [{ name = "requests" },{ name = "wrapt" },]-sdist = { url = "https://files.pythonhosted.org/packages/4e/2c/e84052afe2172572254a1b82ae277cc324def90a0ac3c720b1405041cbd3/langfuse-3.0.2.tar.gz", hash = "sha256:48d2b070a37d5e0aa1339bfb0062da98e61d50692c5b7a12ea2c8cb2b00e49bb", size = 148159 }+sdist = { url = "https://files.pythonhosted.org/packages/74/34/14c70b0cd3385cb91e539eb3bdd955d0ef276c060f1ac9f34bdb677d08d9/langfuse-3.0.3.tar.gz", hash = "sha256:134a1f1d690441e8ce344067e49793ee8fec7219979ada4c660146701d819e56", size = 148191 }wheels = [- { url = "https://files.pythonhosted.org/packages/72/66/5f3ea90e82f7a4ae7f61bd6f8beadbbdf44a96031ad7a509f986b5993367/langfuse-3.0.2-py3-none-any.whl", hash = "sha256:bd2cc3ba3e09e906ee20f7fb16391d0c02d37246a6492c75b665239021d64874", size = 292675 },+ { url = "https://files.pythonhosted.org/packages/13/dc/c5f36d9ce582ab56ff71d60030e6885a06f6d2b6443f9e82b2e44135ba2e/langfuse-3.0.3-py3-none-any.whl", hash = "sha256:7a814a9cde58e34e607121510aa0efcd40644d35f45751073de77933b3d93f3d", size = 292682 },][[package]]@@ -3549,7 +3549,7 @@ wheels = [[[package]]name = "litellm"-version = "1.72.6"+version = "1.72.6.post1"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "aiohttp" },@@ -3564,9 +3564,9 @@ dependencies = [{ name = "tiktoken" },{ name = "tokenizers" },]-sdist = { url = "https://files.pythonhosted.org/packages/8d/15/df75f278fd998f6d6900f692b9de2fba2814b316c123c99072a813668aac/litellm-1.72.6.tar.gz", hash = "sha256:4e5c7e4273b09b765302d2faaec30f77b42255c0055b427b55ea02b8092b8582", size = 8393603 }+sdist = { url = "https://files.pythonhosted.org/packages/9d/49/673d6e95c086c578f48803d46583c64a89b60b6c22a2757e600d1eadd63a/litellm-1.72.6.post1.tar.gz", hash = "sha256:cc03455bfae17c4226e70bc0e8ac7c889fc577b4832fbb6bc5bd8bc5a2ab02f9", size = 8398642 }wheels = [- { url = "https://files.pythonhosted.org/packages/96/c9/4aae0b77632279eef9716dbcb98edd8b36c08a9da070e2470ca9c410c0f8/litellm-1.72.6-py3-none-any.whl", hash = "sha256:e0ae98d25db4910e78b1a0a604f24c0d6875f6cdea02426b264a45d4fbdb8c46", size = 8302810 },+ { url = "https://files.pythonhosted.org/packages/18/d9/d6cbfe107e240a2206e34197f76ab73e0bc8312970b61b56452351da11aa/litellm-1.72.6.post1-py3-none-any.whl", hash = "sha256:94abba480b3e1c9f05ed75f908e8fb0d5fe1bd5304868bd435f99fbdfcdb4c88", size = 8305823 },][[package]]@@ -4142,11 +4142,11 @@ wheels = [[[package]]name = "narwhals"-version = "1.43.0"+version = "1.42.1"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/37/d9/ec1bd9f85d30de741b281ef24dabbf029122b638ea19456ffa1b1d862205/narwhals-1.43.0.tar.gz", hash = "sha256:5a28119401fccb4d344704f806438a983bb0a5b3f4a638760d25b1d521a18a79", size = 496455 }+sdist = { url = "https://files.pythonhosted.org/packages/df/d6/168a787b7800d6c89846b791e4f5ee6b94998a80c8c2838a019d3d71984d/narwhals-1.42.1.tar.gz", hash = "sha256:50a5635b11aeda98cf9c37e839fd34b0a24159f59a4dfae930290ad698320494", size = 492865 }wheels = [- { url = "https://files.pythonhosted.org/packages/1e/8d/07b892f237491e03328de4c69c17ed8b99a5b6faf84575ca06b15cbf2674/narwhals-1.43.0-py3-none-any.whl", hash = "sha256:7accb0eae172f5697ada3635f46221dfcc98e9419f694df628c0745526d5c514", size = 362730 },+ { url = "https://files.pythonhosted.org/packages/79/3f/8d450588206b437dd239a6d44230c63095e71135bd95d5a74347d07adbd5/narwhals-1.42.1-py3-none-any.whl", hash = "sha256:7a270d44b94ccdb277a799ae890c42e8504c537c1849f195eb14717c6184977a", size = 359888 },][[package]]@@ -4916,7 +4916,7 @@ wheels = [[[package]]name = "posthog"-version = "5.0.0"+version = "5.1.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "backoff" },@@ -4925,9 +4925,9 @@ dependencies = [{ name = "requests" },{ name = "six" },]-sdist = { url = "https://files.pythonhosted.org/packages/27/68/c71abb7d3df9f52875a393c648814feb64f97a0b2b116e1146f78b0c9651/posthog-5.0.0.tar.gz", hash = "sha256:9f6a5eb650c19473b20085665f53ef762ba2a8558754eefc20843b07ac5be80e", size = 82927 }+sdist = { url = "https://files.pythonhosted.org/packages/a3/bd/4f8a48fd0599d00a15b926ba71555e6a4b27d2ba3c2c263536badd0f6f8e/posthog-5.1.0.tar.gz", hash = "sha256:e535c2dc9506426b8909aff6bd8d344d776c6da12d1c5c70d4d8d790bf8e1348", size = 85866 }wheels = [- { url = "https://files.pythonhosted.org/packages/82/d6/1123e623d3a4b657a4c670827bd81c0f65ed5a1a62f056e6c48a174cdc63/posthog-5.0.0-py3-none-any.whl", hash = "sha256:ac87c4bd1549a780045cfba1097352fc3c933b66b3be3e926915519ce1eabe44", size = 100042 },+ { url = "https://files.pythonhosted.org/packages/d9/8c/7dafe44dfab0ee0e439065c9c937a5a829e7e10ca34a64040c19a5793bd6/posthog-5.1.0-py3-none-any.whl", hash = "sha256:9a6cb6f1397ef65371e1ce3c6c6ef5df05f91b792cd1b12357de96d4d35f6aa2", size = 103449 },][[package]]@@ -7618,11 +7618,11 @@ wheels = [[[package]]name = "urllib3"-version = "2.1.0"+version = "2.5.0"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/36/dd/a6b232f449e1bc71802a5b7950dc3675d32c6dbc2a1bd6d71f065551adb6/urllib3-2.1.0.tar.gz", hash = "sha256:df7aa8afb0148fa78488e7899b2c59b5f4ffcfa82e6c54ccb9dd37c1d7b52d54", size = 263900 }+sdist = { url = "https://files.pythonhosted.org/packages/15/22/9ee70a2574a4f4599c47dd506532914ce044817c7752a79b6a51286319bc/urllib3-2.5.0.tar.gz", hash = "sha256:3fc47733c7e419d4bc3f6b3dc2b4f890bb743906a30d56ba4a5bfa4bbff92760", size = 393185 }wheels = [- { url = "https://files.pythonhosted.org/packages/96/94/c31f58c7a7f470d5665935262ebd7455c7e4c7782eb525658d3dbf4b9403/urllib3-2.1.0-py3-none-any.whl", hash = "sha256:55901e917a5896a349ff771be919f8bd99aff50b79fe58fec595eb37bbc56bb3", size = 104579 },+ { url = "https://files.pythonhosted.org/packages/a7/c2/fe1e52489ae3122415c51f387e221dd0773709bad6c6cdaa599e8a2c5185/urllib3-2.5.0-py3-none-any.whl", hash = "sha256:e6b01673c0fa6a13e374b50871808eb3bf7046c4b125b216f6bf1cc604cff0dc", size = 129795 },][package.optional-dependencies]@@ -7703,7 +7703,7 @@ wheels = [[[package]]name = "weaviate-client"-version = "4.15.1"+version = "4.15.2"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "authlib" },@@ -7715,9 +7715,9 @@ dependencies = [{ name = "pydantic" },{ name = "validators" },]-sdist = { url = "https://files.pythonhosted.org/packages/c2/b7/7b27a1530c0425a6b8fa9bcdf57a60b7f01e74aad6e452edafc221655bb2/weaviate_client-4.15.1.tar.gz", hash = "sha256:efa61c43f94eeb5039def03b76c1c4b845e8c17868d92f8e77cdcdfe5a4c611e", size = 663921 }+sdist = { url = "https://files.pythonhosted.org/packages/7c/36/049a033f2887c29dcfc300a124be8c8c791be30d76a16088c71f30c55ceb/weaviate_client-4.15.2.tar.gz", hash = "sha256:d396f01341aa6534ae6f22c0a1e6382d7c462da14093cad8c4cccd4538efce49", size = 663902 }wheels = [- { url = "https://files.pythonhosted.org/packages/12/5a/615a5f2449e73e66d2cc97013f332288740b299608587b09f38d3a3fda75/weaviate_client-4.15.1-py3-none-any.whl", hash = "sha256:08e511ab3cc91a17f1f5ee052fd4c19ee7f78b26523a457a07fcc9b70fb5a126", size = 433732 },+ { url = "https://files.pythonhosted.org/packages/a4/ba/6e3fc8fb525eb5ecf0ba04941b2f51539ae151e8268279c8b92f7c9b705c/weaviate_client-4.15.2-py3-none-any.whl", hash = "sha256:586f129901b291bf2e24ecf885ca1a599b8e99c91df170dded76b29c74efe401", size = 433734 },][[package]]