Skip to content

Commit 585efdc

Browse files
committed
chore: update action.yml configuration
Refined action inputs and outputs for clarity Improved documentation and descriptions Ensured consistency with project requirements help from Grok4
1 parent 2a1689f commit 585efdc

File tree

1 file changed

+17
-30
lines changed

1 file changed

+17
-30
lines changed

action.yml

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,31 @@
11
# 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'
94
inputs:
105
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'
1210
required: true
13-
default: 'report.json'
14-
type: list
1511
api-key:
16-
description: 'API token for AI'
12+
description: 'API key for the selected LLM'
1713
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)'
2616
required: false
27-
default: 'exercise.py'
28-
type: list
17+
default: 'gemini'
2918
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
3421
explanation-in:
35-
description: 'Generate explanations in the specified language'
22+
description: 'Language for explanations (e.g., English, Korean)'
3623
required: false
3724
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'
4229
runs:
4330
using: 'docker'
4431
image: 'Dockerfile'

0 commit comments

Comments
 (0)