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

Method get_openai_client

trinity/explorer/proxy/client.py:22–27  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

20 return False
21
22 def get_openai_client(self) -> openai.OpenAI:
23 client = openai.OpenAI(
24 base_url=self.openai_base_url,
25 api_key="EMPTY",
26 )
27 return client
28
29 def get_openai_async_client(self) -> openai.AsyncOpenAI:
30 client = openai.AsyncOpenAI(

Callers 1

run_agentFunction · 0.95

Calls

no outgoing calls

Tested by 1

run_agentFunction · 0.76