MCPcopy
hub / github.com/apache/caldera / combined_config

Function combined_config

tests/api/v2/handlers/test_agents_api.py:113–120  ·  view source on GitHub ↗
(agent_config, app_config)

Source from the content-addressed store, hash-verified

111
112@pytest.fixture
113def combined_config(agent_config, app_config):
114 main_config = app_config.copy()
115 for key in main_config:
116 if key.startswith('app'):
117 continue
118 app_config.pop(key)
119 app_config.update({f'agents.{k}': v for k, v in agent_config.items()})
120 return app_config
121
122
123class TestAgentsApi:

Callers

nothing calls this directly

Calls 1

updateMethod · 0.80

Tested by

no test coverage detected