xvnpw / fabric-agent-action-examples

Example of fabric-agent-action usage
0 stars 0 forks source link

update app.py #22

Closed xvnpw closed 5 days ago

github-actions[bot] commented 5 days ago
(🤖 AI Generated)

Summary

Refactored app.py to enhance modularity, update command-line argument parsing, and introduce new agent configurations. Moved AppConfig and GraphExecutor out of app.py, adjusted default behaviors, and added new command-line options for improved flexibility.

Files Changed

Code Changes

1. Removed Local AppConfig Class

- from dataclasses import dataclass
- from typing import Optional, TextIO
- from typing_extensions import Literal
+ from typing import TextIO
+ from fabric_agent_action.config import AppConfig

2. Modified Argument Parsing

3. Refactored Execution Flow

4. Removed GraphExecutor Class

Reason for Changes

Impact of Changes

Test Plan

Additional Notes

Shortlist of Changes for Reviewers

End of PR Description