games.go.configΒΆ

Go game configuration module.

ClassesΒΆ

GoAgentConfig

Configuration for the Go game agent.

Module ContentsΒΆ

class games.go.config.GoAgentConfigΒΆ

Bases: haive.core.engine.agent.agent.AgentConfig

Configuration for the Go game agent.

This class defines the configuration settings for a Go game agent, including state management, LLM configurations, visualization options, and analysis settings.

state_schemaΒΆ

Schema class for game state (default: GoGameState).

Type:

type

enginesΒΆ

LLM configurations for players and analysis.

Type:

Dict[str, AugLLMConfig]

should_visualize_graphΒΆ

Whether to generate a visualization of the game graph (default: True).

Type:

bool

graph_nameΒΆ

Filename for the graph visualization (default: β€œgo_game.png”).

Type:

str

include_analysisΒΆ

Whether to include position analysis during the game (default: True).

Type:

bool

Example

>>> config = GoAgentConfig(
...     include_analysis=True,
...     engines={
...         "black_player": AugLLMConfig(...),
...         "white_player": AugLLMConfig(...),
...         "analyzer": AugLLMConfig(...)
...     }
... )