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

Method get_actor

trinity/explorer/explorer.py:626–635  ·  view source on GitHub ↗

Get a Ray actor for the explorer.

(cls, config: Config)

Source from the content-addressed store, hash-verified

624
625 @classmethod
626 def get_actor(cls, config: Config):
627 """Get a Ray actor for the explorer."""
628 return (
629 ray.remote(cls)
630 .options(
631 name=config.explorer.name,
632 namespace=config.ray_namespace,
633 )
634 .remote(config)
635 )

Callers 2

__init__Method · 0.45
prepareMethod · 0.45

Calls 1

remoteMethod · 0.80

Tested by

no test coverage detected