Commit Graph

14 Commits

Author SHA1 Message Date
Sean Goedecke
b002da2928 Add GitHub Actions workflow for releasing new version 2025-07-21 09:41:47 +10:00
Sean Goedecke
75eeed10d7 Cover more steps 2025-07-15 21:26:56 +00:00
Sean Goedecke
305469fbce Make actual inference in CI optional, since it depends on org settings 2025-07-15 21:24:16 +00:00
Matthew Leibowitz
9aac9c75b3 Formatting 2025-05-26 04:03:09 +02:00
dependabot[bot]
c9a9379c71 Bump super-linter/super-linter in the actions-minor group
Bumps the actions-minor group with 1 update: [super-linter/super-linter](https://github.com/super-linter/super-linter).


Updates `super-linter/super-linter` from 7.3.0 to 7.4.0
- [Release notes](https://github.com/super-linter/super-linter/releases)
- [Changelog](https://github.com/super-linter/super-linter/blob/main/CHANGELOG.md)
- [Commits](4e8a7c2bf1...12150456a7)

---
updated-dependencies:
- dependency-name: super-linter/super-linter
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: actions-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-26 00:48:34 +00:00
Matthew Leibowitz
91ba53d8b4 feat: Add system-prompt-file input for file-based system prompts
This enhancement adds the ability to load a system prompt from a file, similar to
the existing prompt-file functionality, providing more flexibility when working with
complex system prompts.

Key changes:
- Added new `system-prompt-file` input to action.yml with proper description
- Updated main.ts implementation to handle file-based system prompts with:
  - File existence checking and appropriate error handling
  - Proper precedence (system-prompt-file takes priority over system-prompt)
  - Consistent error messages with existing prompt-file implementation

Test coverage added:
- Basic usage: Test verifies system-prompt-file loads content correctly
- Error handling: Test ensures proper errors when system-prompt-file doesn't exist
- Precedence: Test confirms system-prompt-file overrides system-prompt when both exist
- Integration: Test validates both prompt-file and system-prompt-file work together
- Max tokens: Test verifies custom token limits are properly passed to the model
- Testing infrastructure: Improved mock implementations that detect unexpected calls

Documentation:
- Updated README.md with system-prompt-file in inputs table
- Added dedicated usage example for system-prompt-file
- Fixed formatting in inputs table

CI/CD:
- Updated workflow to test system-prompt-file functionality with actual file content

This feature maintains backward compatibility while adding a useful option
for workflows that need to use more complex system prompts stored in files.
2025-05-24 03:50:15 +02:00
Aiqiao Yan
2aea1d4fc8 add a ci test 2025-04-17 21:04:14 +00:00
Sean Goedecke
3f8bae9a6e Pin linter CI to SHA 2025-04-10 21:24:44 +00:00
Sean Goedecke
d86d983567 update README 2025-04-07 00:09:42 +00:00
Sean Goedecke
81366f9328 tweak linter config 2025-04-06 23:38:26 +00:00
Sean Goedecke
c8b10a996f add token to ci-test 2025-04-06 23:31:29 +00:00
Sean Goedecke
dc9a980819 add token 2025-04-06 23:29:20 +00:00
Sean Goedecke
c3a57486b8 update ci.yml 2025-04-06 23:24:55 +00:00
Sean Goedecke
0905e36402 Initial commit 2025-04-04 07:27:58 +11:00