-
Notifications
You must be signed in to change notification settings - Fork 43.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(example) update hackathon workflow to include node.js setup #5986
base: master
Are you sure you want to change the base?
(example) update hackathon workflow to include node.js setup #5986
Conversation
✅ Deploy Preview for auto-gpt-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
- name: Read node version from .nvmrc (or use default v18.15) | ||
id: nvm | ||
run: echo NVMRC=$([[ -f .nvmrc ]] && cat .nvmrc || echo "v18.15") >> "$GITHUB_OUTPUT" | ||
working-directory: ${{ matrix.agent-name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm assuming here that each agent will be cloned at the root directory, and put under a ./${agent-name}
directory
# need to be able to push a new commit to our submission. Let me know please. | ||
GPT_MODEL: "gpt-4-0613" | ||
CONTEXT_WINDOW_TOKENS: 8000 | ||
MAX_RESPONSE_TOKENS: 2000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option to get around this agent-specific CI setup is to have sub-workflows that agents could push to AutoGPT's repo. Could simply invoke them like so:
Custom-Agent-Setup:
if: ...agent-has-custom-setup...
uses: ./.github/workflows/agent-setup/${{ matrix.agent-name }}.yaml
I'm not sure if GitHub workflows allows for a conditional uses:
statement though...
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |
Background
https://discord.com/channels/1092243196446249134/1097875855214137374/1167212025403953203