feat: Create polling job for polling batch results (#1624)
Previous run passed all relevant checks, so skipping the wait. This new commit just merges main.
This commit is contained in:
@@ -8,6 +8,7 @@ from abc import abstractmethod
|
||||
from datetime import datetime
|
||||
from typing import Any, Callable, Dict, List, Optional, Tuple, Union
|
||||
|
||||
from anthropic import AsyncAnthropic
|
||||
from composio.client import Composio
|
||||
from composio.client.collections import ActionModel, AppModel
|
||||
from fastapi import HTTPException
|
||||
@@ -352,6 +353,9 @@ class SyncServer(Server):
|
||||
self._llm_config_cache = {}
|
||||
self._embedding_config_cache = {}
|
||||
|
||||
# TODO: Replace this with the Anthropic client we have in house
|
||||
self.anthropic_async_client = AsyncAnthropic()
|
||||
|
||||
def load_agent(self, agent_id: str, actor: User, interface: Union[AgentInterface, None] = None) -> Agent:
|
||||
"""Updated method to load agents from persisted storage"""
|
||||
agent_state = self.agent_manager.get_agent_by_id(agent_id=agent_id, actor=actor)
|
||||
|
||||
Reference in New Issue
Block a user