feat: add nomyo inference
This commit is contained in:
parent
73ac813c39
commit
636de792a7
3 changed files with 43 additions and 25 deletions
15
action.yml
15
action.yml
|
|
@ -39,6 +39,10 @@ inputs:
|
|||
description: "Model variant for provider-specific reasoning effort (e.g., high, max, minimal)"
|
||||
required: false
|
||||
|
||||
nomyo_api_key:
|
||||
description: "Nomyo API key"
|
||||
required: true
|
||||
|
||||
nomyo_api_url:
|
||||
description: "Nomyo API base URL. Defaults to https://chat.nomyo.ai/api"
|
||||
required: false
|
||||
|
|
@ -47,3 +51,14 @@ inputs:
|
|||
runs:
|
||||
using: "node20"
|
||||
main: "dist/index.mjs"
|
||||
env:
|
||||
NOMYO_API_KEY: ${{ inputs.nomyo_api_key }}
|
||||
NOMYO_API_URL: ${{ inputs.nomyo_api_url }}
|
||||
MODEL: ${{ inputs.model }}
|
||||
AGENT: ${{ inputs.agent }}
|
||||
SHARE: ${{ inputs.share }}
|
||||
PROMPT: ${{ inputs.prompt }}
|
||||
FORGEJO_API_URL: ${{ inputs.forgejo_api_url }}
|
||||
FORGEJO_TOKEN: ${{ inputs.forgejo_token }}
|
||||
MENTIONS: ${{ inputs.mentions }}
|
||||
VARIANT: ${{ inputs.variant }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue