File size: 585 Bytes
53cd6b0
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from __future__ import annotations

from persistentpoker_bench.hand_runner import StaticDecisionAgent
from persistentpoker_bench.schemas import LLMDecision, WinnerPoolDecision


def static_agent_factory() -> StaticDecisionAgent:
    # Keep demo/smoke agents deterministic but with enough scripted actions to
    # survive longer multi-hand runs without exhausting the stub.
    decisions = [LLMDecision("call", None, (), WinnerPoolDecision.CONTINUE)] * 1024 + [
        LLMDecision("check", None, (), WinnerPoolDecision.CONTINUE)
    ] * 2048
    return StaticDecisionAgent(decisions)