-
Notifications
You must be signed in to change notification settings - Fork 126
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
configurable default model #544
Conversation
/genai-describe |
/genai-review |
However, there are a couple of areas which could be improved:
Otherwise, LGTM π.
|
Environment variable to specify the default model for all scripts
GENAISCRIPT_DEFAULT_MODEL
andGENAISCRIPT_DEFAULT_TEMPERATURE
).modelId
is defined before it is used.NodeHost.install()
function has been updated to be async, and now includes a call to parse default settings from the environmental variables.githubCreatePullRequestReview
function to check the distance between lines when comparing with existing comments.expandTemplate
module have been updated to use the new default settings from the host.parseTokenFromEnv
function now handles parsing the default model from the environment variables..env
configuration handling has been improved, with additional checks and balances.