MCPcopy Index your code
hub / github.com/langroid/langroid / CustomAgentConfig

Class CustomAgentConfig

tests/main/test_agent.py:9–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8
9class CustomAgentConfig(lr.AgentConfig):
10 max_tokens: int = 10000
11 llm: lm.LLMConfig = lm.OpenAIGPTConfig(
12 cache_config=lr.cachedb.redis_cachedb.RedisCacheConfig(fake=False),
13 )
14
15
16def test_agent(test_settings: lr.utils.configuration.Settings):

Callers 3

test_agentFunction · 0.85
test_agent_asyncFunction · 0.85

Calls

no outgoing calls

Tested by 3

test_agentFunction · 0.68
test_agent_asyncFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…