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

Method __init__

src/hyperagent/agents/llms.py:135–141  ·  view source on GitHub ↗
(self, config)

Source from the content-addressed store, hash-verified

133
134class VLLM(LLM):
135 def __init__(self, config):
136 super().__init__(config)
137 self.client = vLLM(
138 model = config["model"],
139 tensor_parallel_size = 2,
140 )
141 self.system_prompt = config["system_prompt"]
142
143 def __call__(self, prompt: str):
144 composed_prompt = f"{self.system_prompt} {prompt}"

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected