fix(github): support variant in github action and opencode github run (#14431)
This commit is contained in:
parent
1de12604cf
commit
2410593023
2 changed files with 8 additions and 0 deletions
|
|
@ -450,6 +450,7 @@ export const GithubRunCommand = cmd({
|
|||
const isWorkflowDispatchEvent = context.eventName === "workflow_dispatch"
|
||||
|
||||
const { providerID, modelID } = normalizeModel()
|
||||
const variant = process.env["VARIANT"] || undefined
|
||||
const runId = normalizeRunId()
|
||||
const share = normalizeShare()
|
||||
const oidcBaseUrl = normalizeOidcBaseUrl()
|
||||
|
|
@ -912,6 +913,7 @@ export const GithubRunCommand = cmd({
|
|||
const result = await SessionPrompt.prompt({
|
||||
sessionID: session.id,
|
||||
messageID: Identifier.ascending("message"),
|
||||
variant,
|
||||
model: {
|
||||
providerID,
|
||||
modelID,
|
||||
|
|
@ -965,6 +967,7 @@ export const GithubRunCommand = cmd({
|
|||
const summary = await SessionPrompt.prompt({
|
||||
sessionID: session.id,
|
||||
messageID: Identifier.ascending("message"),
|
||||
variant,
|
||||
model: {
|
||||
providerID,
|
||||
modelID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue