MCPcopy Create free account
hub / github.com/CodeClash-ai/CodeClash / _render_prompt_templates

Method _render_prompt_templates

codeclash/agents/utils.py:30–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 working_dir: str
29 arena_description: str = ""
30
31 def _render_prompt_templates(self) -> dict:
32 context = self.model_dump()
33 return {key: Template(template_str).render(**context) for key, template_str in self.prompts.items()}
34
35 def to_template_vars(self) -> dict[str, str]:

Callers 1

to_template_varsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected