MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / __init__

Method __init__

KVCOMM/agents/final_decision.py:339–351  ·  view source on GitHub ↗
(
        self,
        id: str | None = None,
        domain: str = "",
        llm_name: str = "",
        llm_config: KVCommConfig | None = None,
    )

Source from the content-addressed store, hash-verified

337class FinalRefer(Node):
338 """Final referencing/answer agent assembling the final response."""
339 def __init__(
340 self,
341 id: str | None = None,
342 domain: str = "",
343 llm_name: str = "",
344 llm_config: KVCommConfig | None = None,
345 ):
346 super().__init__(id, "FinalRefer" ,domain, llm_name)
347 prefix = ""
348 self.llm = LLMRegistry.get(llm_name, prefix=prefix, llm_config=llm_config)
349 self.role = 'FinalRefer'
350 self.llm.set_id(self.id, 'FinalRefer')
351 self.prompt_set = PromptSetRegistry.get(domain)
352
353 async def _process_inputs(
354 self,

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 2

set_idMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected