Test client initialization.
()
| 12 | |
| 13 | |
| 14 | def test_client_init(): |
| 15 | """Test client initialization.""" |
| 16 | client = AgentRPC(api_secret, api_endpoint) |
| 17 | |
| 18 | # Check that properties are set correctly |
| 19 | assert client._AgentRPC__api_secret == api_secret |
| 20 | assert client._AgentRPC__endpoint == api_endpoint |
| 21 | assert client._AgentRPC__http_client is not None |
| 22 | |
| 23 | |
| 24 | def test_client_openai_completions_get_tools(): |