MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / __call__

Method __call__

src/hyperagent/agents/llms.py:143–146  ·  view source on GitHub ↗
(self, prompt: str)

Source from the content-addressed store, hash-verified

141 self.system_prompt = config["system_prompt"]
142
143 def __call__(self, prompt: str):
144 composed_prompt = f"{self.system_prompt} {prompt}"
145 response = self.client.generate(composed_prompt)
146 return response[0].outputs[0].text
147
148
149if __name__ == "__main__":

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected