Skip to content

Commit 6c2d855

Browse files
committed
local check
1 parent 6720d47 commit 6c2d855

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/local.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636
- name: "Run agent"
3737
env:
3838
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
39-
run: python src/run_agent.py data/test_questions.csv agent_responses
39+
run: |
40+
python src/run_agent.py data/test_questions.csv agent_responses
41+
ls -la
42+
cat agent_responses
4043
- uses: evidentlyai/evidently-report-action@main
4144
env:
4245
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

src/run_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
def main():
1010
if len(sys.argv) < 3:
11-
print("Usage: python run_agent.py <dataset_path>")
11+
print("Usage: python run_agent.py <dataset_path> <output_path>")
1212
sys.exit(1)
1313
dataset_path, output_path = sys.argv[1:3]
1414
try:

0 commit comments

Comments
 (0)