|
1 | 1 | # begin action.yml |
2 | | -# Make sure to change the action name here (must be unique). |
3 | | -# Update the rest as needed. |
4 | | -name: 'gemini-python-tutor' |
5 | | -description: 'Gemini Python Tutor for Github Classroom Assignments' |
6 | | -branding: # Look at documentation for branding options/requirements. These are my favorites. |
7 | | - icon: 'book-open' |
8 | | - color: 'green' |
| 2 | +name: 'Gemini Python Tutor' |
| 3 | +description: 'Action to generate feedback using LLMs' |
9 | 4 | inputs: |
10 | 5 | report-files: |
11 | | - description: 'Comma-separeted list of json report file paths' |
| 6 | + description: 'Comma-separated list of test report file paths' |
| 7 | + required: true |
| 8 | + student-files: |
| 9 | + description: 'Comma-separated list of student code file paths' |
12 | 10 | required: true |
13 | | - default: 'report.json' |
14 | | - type: list |
15 | 11 | api-key: |
16 | | - description: 'API token for AI' |
| 12 | + description: 'API key for the selected LLM' |
17 | 13 | required: true |
18 | | - type: string |
19 | | - model: # New input for the model |
20 | | - description: 'The Gemini model to use (e.g., gemini-2.0-flash)' |
21 | | - required: false |
22 | | - default: 'gemini-2.0-flash' |
23 | | - type: string |
24 | | - student-files: |
25 | | - description: "Comma-separated list of student's Python file paths or a glob pattern" |
| 14 | + model: |
| 15 | + description: 'LLM model to use (e.g., gemini, grok)' |
26 | 16 | required: false |
27 | | - default: 'exercise.py' |
28 | | - type: list |
| 17 | + default: 'gemini' |
29 | 18 | readme-path: |
30 | | - description: 'assignment instructions path' |
31 | | - required: false |
32 | | - default: 'README.md' |
33 | | - type: string |
| 19 | + description: 'Path to the README file with assignment instructions' |
| 20 | + required: true |
34 | 21 | explanation-in: |
35 | | - description: 'Generate explanations in the specified language' |
| 22 | + description: 'Language for explanations (e.g., English, Korean)' |
36 | 23 | required: false |
37 | 24 | default: 'English' |
38 | | - type: string |
39 | | -outputs: |
40 | | - feedback: |
41 | | - description: 'Feedback from the tutor' |
| 25 | + fail-expected: |
| 26 | + description: 'Whether test failures are expected (true/false)' |
| 27 | + required: false |
| 28 | + default: 'false' |
42 | 29 | runs: |
43 | 30 | using: 'docker' |
44 | 31 | image: 'Dockerfile' |
|
0 commit comments