MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / get

Method get

trinity/buffer/storage/queue.py:162–169  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160 await super().put(item)
161
162 async def get(self):
163 while True:
164 item = await super().get()
165 if (
166 self.min_model_version <= 0
167 or item[0].info["model_version"] >= self.min_model_version
168 ):
169 return item
170
171 async def close(self) -> None:
172 """Close the queue."""

Callers 15

__init__Method · 0.45
__init__Method · 0.45
get_buffer_readerFunction · 0.45
create_operatorsFunction · 0.45
_init_selectorMethod · 0.45
_assemble_experiencesMethod · 0.45
load_from_datasetMethod · 0.45
prepareMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected