MCPcopy Create free account
hub / github.com/Paper2Poster/Paper2Poster / _run_batch

Method _run_batch

utils/src/llms.py:172–180  ·  view source on GitHub ↗
(self, messages: list, delay_batch: bool = False)

Source from the content-addressed store, hash-verified

170 return f"LLM(model={self.model}, api_base={self.api_base})"
171
172 async def _run_batch(self, messages: list, delay_batch: bool = False):
173 await self.oai_batch.add(
174 "chat.completions.create",
175 model=self.model,
176 messages=messages,
177 )
178 if delay_batch:
179 return
180 return await self.oai_batch.run()
181
182 def format_message(
183 self,

Callers 1

__call__Method · 0.95

Calls 2

addMethod · 0.45
runMethod · 0.45

Tested by

no test coverage detected