Iragent
This project is about using agents as simple as possible with small and large language models
Loading...
Searching...
No Matches
tests.test_simple_sequence.TestSimpleSequentialAgents Class Reference
Inheritance diagram for tests.test_simple_sequence.TestSimpleSequentialAgents:

Public Member Functions

 setUp (self)
 
 test_agent_sequence (self)
 

Public Attributes

str api_key = "fake-key"
 
str model = "fake-model"
 
str base_url = "https://api.fake.local/v1"
 
 agent_a
 
 agent_b
 
 agent_c
 

Member Function Documentation

◆ setUp()

tests.test_simple_sequence.TestSimpleSequentialAgents.setUp ( self)

◆ test_agent_sequence()

tests.test_simple_sequence.TestSimpleSequentialAgents.test_agent_sequence ( self)

Member Data Documentation

◆ agent_a

tests.test_simple_sequence.TestSimpleSequentialAgents.agent_a
Initial value:
= Agent(
name="time_reader",
model=self.model,
base_url=self.base_url,
api_key=self.api_key,
system_prompt="Mock",
fn=[get_time_now],
)

◆ agent_b

tests.test_simple_sequence.TestSimpleSequentialAgents.agent_b
Initial value:
= Agent(
name="time_converter",
model=self.model,
base_url=self.base_url,
api_key=self.api_key,
system_prompt="Mock",
)

◆ agent_c

tests.test_simple_sequence.TestSimpleSequentialAgents.agent_c
Initial value:
= Agent(
name="persian_translator",
model=self.model,
base_url=self.base_url,
api_key=self.api_key,
system_prompt="Mock",
)

◆ api_key

str tests.test_simple_sequence.TestSimpleSequentialAgents.api_key = "fake-key"

◆ base_url

str tests.test_simple_sequence.TestSimpleSequentialAgents.base_url = "https://api.fake.local/v1"

◆ model

str tests.test_simple_sequence.TestSimpleSequentialAgents.model = "fake-model"

The documentation for this class was generated from the following file: