Fix circular import in __init__.py (#35)

This commit is contained in:
2026-03-14 09:24:31 +00:00
parent 1b116108a6
commit 0f62267806
25 changed files with 517 additions and 137 deletions
+2 -1
View File
@@ -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,
+1 -1
View File
@@ -182,7 +182,7 @@ Provide:
if numbers:
score = float(numbers[0])
break
except:
except (ValueError, IndexError):
pass
return AgentResponse(
-1
View File
@@ -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 (