Add integration test with dummy agent (#1316)

* first pass at dummy

* add assertion to dummy

* add dummy workflow

* beef up tests

* try and fix huggingface issue

* remove newlines

* rename test

* move to pytest

* Revert " move to pytest"

This reverts commit de8121c400.

* fix lint

* delint

* Update .github/workflows/dummy-agent-test.yml

Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>

---------

Co-authored-by: Boxuan Li <liboxuan@connect.hku.hk>
This commit is contained in:
Robert Brennan
2024-04-30 12:52:00 -04:00
committed by GitHub
parent eb1c3d8790
commit 0cda5f64af
7 changed files with 145 additions and 19 deletions

View File

@@ -3,13 +3,12 @@ sidebar_label: agent
title: agenthub.dummy_agent.agent
---
Module for a Dummy agent.
## DummyAgent Objects
```python
class DummyAgent(Agent)
```
A dummy agent that does nothing but can be used in testing.
The DummyAgent is used for e2e testing. It just sends the same set of actions deterministically,
without making any LLM calls.