Fix circular import in __init__.py (#35)
This commit is contained in:
@@ -87,7 +87,8 @@ class BaseAgent(ABC, Generic[T]):
|
||||
"""
|
||||
temp = temperature if temperature is not None else self.config.temperature
|
||||
|
||||
return await self.llm_client.complete(
|
||||
# Use async version for async context
|
||||
return await self.llm_client.complete_async(
|
||||
system_prompt=system_prompt,
|
||||
user_prompt=user_prompt,
|
||||
temperature=temp,
|
||||
|
||||
@@ -182,7 +182,7 @@ Provide:
|
||||
if numbers:
|
||||
score = float(numbers[0])
|
||||
break
|
||||
except:
|
||||
except (ValueError, IndexError):
|
||||
pass
|
||||
|
||||
return AgentResponse(
|
||||
|
||||
@@ -8,7 +8,6 @@ from typing import Any, Optional
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
|
||||
from opus_orchestrator.agents.base import BaseAgent, AgentResponse
|
||||
from opus_orchestrator.utils.research import (
|
||||
|
||||
Reference in New Issue
Block a user