MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / __init__

Method __init__

optillm/mars/workspace.py:42–52  ·  view source on GitHub ↗
(self, problem: str, config: Dict[str, Any])

Source from the content-addressed store, hash-verified

40 """Shared workspace for agent collaboration and solution tracking"""
41
42 def __init__(self, problem: str, config: Dict[str, Any]):
43 self.problem = problem
44 self.config = config
45 self.solutions: List[AgentSolution] = []
46 self.verification_results: List[VerificationResult] = []
47 self.synthesis_attempts: List[Dict] = []
48 self.final_solution: Optional[str] = None
49 self.iteration_count = 0
50 self.total_reasoning_tokens = 0
51
52 logger.info(f"Initialized MARS workspace for problem: {problem[:100]}...")
53
54 def add_solution(self, agent_solution: AgentSolution) -> str:
55 """Add a new agent solution to the workspace"""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected