feat: add aider template#357
Open
phala-agent wants to merge 1 commit into
Open
Conversation
Contributor
Author
|
cc @Marvin-Cypher for review. Formal reviewer request could not be completed from this automation context, so this comment is the fallback review notification. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
templates/prebuilt/aider.aider-chatpackage, importsaider, and checksaider --versionwithout provider credentials, model downloads, or GPU.templates/icons/aider.svgfrom upstreamaider/website/assets/logo.svgand a config entry routed through the Phala prebuilt template path.Upstream
aider-chat==0.86.2Template files
templates/prebuilt/aider/docker-compose.ymltemplates/prebuilt/aider/README.mdtemplates/icons/aider.svgtemplates/config.jsonEnvironment variables
AIDER_PACKAGE_VERSIONoptional, default0.86.2AIDER_MODELoptional for later manual Aider sessionsOPENAI_API_KEYoptional for later manual Aider sessionsANTHROPIC_API_KEYoptional for later manual Aider sessionsGEMINI_API_KEYoptional for later manual Aider sessionsOPENROUTER_API_KEYoptional for later manual Aider sessionsDefault smoke endpoints do not use provider credentials.
Validation
python sdks/templates/validate.pypassedgit -C sdks diff --check origin/main...HEADpassed after commitdocker compose -f sdks/templates/prebuilt/aider/docker-compose.yml config >/dev/nullpassedenv_file, no external build contextPhala Cloud deployment smoke
hermes-admin-cvm-check/h4x's projectsphala deploy --name auto-template-test-aider-0526-223331 --compose sdks/templates/prebuilt/aider/docker-compose.yml --instance-type tdx.small --wait --no-public-logs --no-public-sysinfo --jsonf0ad031f-8ccf-4014-99f6-a0eb43ab16638a7d48542171b079a082904b0ecdca2e96ba44b0/dstack-app-1reachedUp About a minute (healthy)GET /healthzreturned HTTP 200 withok=true,package_version=0.86.2,cli_version="aider 0.86.2"GET /demoreturned HTTP 200 withok=trueGET /v1/modelsreturned HTTP 200 with modelaider-local-smokeandremote_model_calls=falseCleanup
cc @Marvin-Cypher for review.