File size: 1,303 Bytes
b0ed2e6
 
 
 
 
 
 
 
 
 
 
 
 
 
d35ad8f
b0ed2e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
## [Unreleased]

### Added
- Moved agent instantiation into a separate `instantiate_agent` function in `app_dev.py`.
- Extracted question fetching logic into a new `fetch_questions` function in `app_dev.py`.
- Created `my_agent.py` for custom agent implementation.
- Added `GeminiApiModel` for interacting with Google Gemini API.
- Refactored `SmolAgent` in `my_agent.py` to use `GeminiApiModel`.
- Removed standalone `call_gemini_api` function from `my_agent.py`.

### Changed
- Simplified error handling in `run_and_submit_all` by removing redundant try-except block around `instantiate_agent` call.
- Updated `run_and_submit_all` to call `fetch_questions` and handle its return values.
- Updated `app_dev.py` to import and use `SmolAgent` from `my_agent.py`.
- Added logic to `GeminiApiModel` to extract text after "FINAL ANSWER: " marker in responses.

### Deprecated

### Removed

### Fixed

### Security 

## [0.1.0] - 2024-07-25

### Added
- Initial project structure based on template.
- Basic Gradio app (`app.py`) for agent evaluation.
- Development version of app (`app_dev.py`) for local testing.
- Placeholder `BasicAgent` in `app_dev.py`.
- `README.md` with project overview and setup instructions.
- `Changelog.md` to track changes.
- `.gitignore` file.
- Placeholder `requirements.txt`.