Skip to content

Dev #1545

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

Merged
merged 150 commits into from
May 27, 2025
Merged

Dev #1545

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
ab5142f
disk space script
pelikhan May 9, 2025
53768f2
add glossary script
pelikhan May 10, 2025
cbbc919
tweak
pelikhan May 10, 2025
5bbd404
✨ feat: improve glossary and add "tiny" model alias
pelikhan May 10, 2025
7af903a
updated glossary
pelikhan May 10, 2025
3f5fb78
✨ feat: revamp glossary and enhance GenAIScript features
pelikhan May 10, 2025
6e56ca2
✨ chore: Upgrade dependencies across multiple packages
pelikhan May 10, 2025
1aea590
Merge pull request #1542 from microsoft/glossary
pelikhan May 10, 2025
43af316
render description as markdown
pelikhan May 10, 2025
46e7b24
Add package manager selection support in CLI and refine Azure credent…
pelikhan May 12, 2025
8dbc1f0
Mcp-images (#1543)
pelikhan May 12, 2025
42473ab
Add metadata support to requests (#1548)
pelikhan May 13, 2025
a6219a2
Call tools (#1546)
pelikhan May 13, 2025
2472e30
✨: Enhance stored completions and metadata handling
pelikhan May 13, 2025
5b507b0
new line
pelikhan May 13, 2025
9f07efc
Release 1.136.0
pelikhan May 13, 2025
fe36d61
[skip ci] updated version numbers
pelikhan May 13, 2025
cbdc102
fix: regression in vscode copuilot chat support
pelikhan May 13, 2025
b2911b2
Release 1.136.1
pelikhan May 13, 2025
3bab921
[skip ci] updated version numbers
pelikhan May 13, 2025
bb84e21
✨: Add metadata handling support across components
pelikhan May 13, 2025
307f8eb
Release 1.136.2
pelikhan May 13, 2025
a99c748
[skip ci] updated version numbers
pelikhan May 13, 2025
bb9c94e
normalize metadata
pelikhan May 13, 2025
733d8c9
missing --yes
pelikhan May 13, 2025
e2d2288
Release 1.136.3
pelikhan May 13, 2025
2c10981
[skip ci] updated version numbers
pelikhan May 13, 2025
4373706
✨ feat: add runId to expansion variables for unique tracking
pelikhan May 13, 2025
e8c71fa
emphasize on create pr
pelikhan May 14, 2025
0980008
typo
pelikhan May 14, 2025
f5cc9b7
Use CLI for GitHub token resolution (#1550)
pelikhan May 14, 2025
e573385
3rd party license update
pelikhan May 14, 2025
53f6461
✨ chore: Update CI workflow and script configurations
pelikhan May 15, 2025
2c77279
:truck: Rename job to `generate-alt-text`
pelikhan May 15, 2025
8636654
fix image encoding
pelikhan May 15, 2025
6900073
Release 1.136.4
pelikhan May 15, 2025
aa385ba
[skip ci] updated version numbers
pelikhan May 15, 2025
dd49d51
:sparkles: Update workflows and refine logging mechanism
pelikhan May 15, 2025
b52df92
updated action
pelikhan May 15, 2025
c18f9d9
updated workflow
pelikhan May 15, 2025
7bbcf1d
handle github images
pelikhan May 15, 2025
380fd03
duplicate section
pelikhan May 15, 2025
4ab22ee
:fire: Remove unused file pattern in GitHub Action
pelikhan May 15, 2025
51df602
:construction: Adjust trace logic for CI environment
pelikhan May 15, 2025
a2e5d9f
Show UI element when no script is selected (#1551)
pelikhan May 15, 2025
207df95
es2024 (#1552)
pelikhan May 15, 2025
773b4ec
fix tokens
pelikhan May 15, 2025
fb9fd6f
Release 1.136.5
pelikhan May 15, 2025
39c1dc8
link to azure openai
pelikhan May 15, 2025
42bf584
✨ enhance: Add await to promiseExample invocation
pelikhan May 15, 2025
02ac6d1
Release 1.136.6
pelikhan May 15, 2025
34c6673
[skip ci] updated version numbers
pelikhan May 15, 2025
d10944a
:sparkles: Enhance logging for Azure token generation
pelikhan May 15, 2025
2137e97
fix docker docs
pelikhan May 15, 2025
26d7cb4
typos
pelikhan May 15, 2025
25de583
make iat more resilient
pelikhan May 15, 2025
2863098
updated prompts
pelikhan May 15, 2025
3838c9f
removing promptfoo dependency
pelikhan May 15, 2025
e35ef69
Release 1.136.7
pelikhan May 15, 2025
4b21c59
[skip ci] updated version numbers
pelikhan May 15, 2025
b6c6dbb
updated docs
pelikhan May 15, 2025
fc5f869
Removing-transformers (#1553)
pelikhan May 15, 2025
d4a87a2
add clean option
pelikhan May 15, 2025
d0413fe
✨ Add TestHost setup with beforeEach in tests
pelikhan May 15, 2025
4365858
Release 1.137.0
pelikhan May 15, 2025
d77039e
[skip ci] updated version numbers
pelikhan May 15, 2025
b37ef2a
updated pdf rendering outdated dependency (#1554)
pelikhan May 16, 2025
73aa1bb
fixing permissions
pelikhan May 16, 2025
d10b1e5
:sparkles: Enhance prettyValue API and update model selection
pelikhan May 16, 2025
e817c85
Release 1.137.1
pelikhan May 16, 2025
0cffe65
[skip ci] updated version numbers
pelikhan May 16, 2025
d6703b5
🎨 chore: add private field to package.json
pelikhan May 16, 2025
c6f0ca6
Support for parsing mermaid diagrams (#1538)
pelikhan May 16, 2025
66a4afd
Release 1.137.2
pelikhan May 16, 2025
5e98132
[skip ci] updated version numbers
pelikhan May 16, 2025
71fc490
clean command
pelikhan May 16, 2025
6f977a4
mermaid blog post
pelikhan May 16, 2025
59087b4
Release 1.137.3
pelikhan May 16, 2025
bf5e617
[skip ci] updated version numbers
pelikhan May 16, 2025
0a4dfce
✨ feat: add support for downloading workflow artifacts (#1555)
pelikhan May 16, 2025
c20cb2c
🚀: Refactor GitHub client to use a `normalizeInt` utility (#1556)
pelikhan May 16, 2025
2c096a6
:sparkles: Standardize blog metadata and enhance clarity
pelikhan May 16, 2025
53e25c0
✨ refactor CLI and VSCode functionalities
pelikhan May 16, 2025
10da5ff
Release 1.137.4
pelikhan May 16, 2025
58e6c3d
[skip ci] updated version numbers
pelikhan May 16, 2025
4090a64
Generate-image-retry (#1557)
pelikhan May 16, 2025
8c11f0f
Release 1.137.5
pelikhan May 16, 2025
102a4e4
[skip ci] updated version numbers
pelikhan May 16, 2025
eb49188
update prd
pelikhan May 16, 2025
c932e7e
renamed file
pelikhan May 16, 2025
7ac5cdf
move cross-fetch-oai in dependencies
pelikhan May 16, 2025
33d7cb5
✨: Update GenAIScript instructions to include ESM support
pelikhan May 16, 2025
383a97f
Release 1.137.6
pelikhan May 16, 2025
b88e21b
[skip ci] updated version numbers
pelikhan May 16, 2025
9a20104
more docs
pelikhan May 16, 2025
5df5547
rotate labels
pelikhan May 16, 2025
e9d79df
Release 1.137.7
pelikhan May 16, 2025
78e34e1
[skip ci] updated version numbers
pelikhan May 16, 2025
4038523
🎉 feat: add CI check to skip CLI trace generation
pelikhan May 17, 2025
ae35309
migration github models (#1558)
pelikhan May 17, 2025
7812af7
refresh lock files (#1559)
pelikhan May 17, 2025
dc134e4
✨ feat: clarify error handling for mermaid diagrams
pelikhan May 17, 2025
f6954ab
Release 1.138.0
pelikhan May 17, 2025
712967c
[skip ci] updated version numbers
pelikhan May 17, 2025
a77781c
approximate tokens for large strings (#1560)
pelikhan May 17, 2025
7c7cbf1
[genai] generated blog posts
pelikhan May 18, 2025
1914bb2
[genai] generated blog posts
pelikhan May 19, 2025
1b8028c
✨ Enhance message conversion logic with filtering (#1562)
pelikhan May 19, 2025
ca67735
Release 1.138.1
pelikhan May 19, 2025
d5d83db
[skip ci] updated version numbers
pelikhan May 19, 2025
51d6ba0
don't estimate tokens on message - too much compute
pelikhan May 19, 2025
59c9bfb
git pull (#1563)
pelikhan May 19, 2025
239cb54
Release 1.138.2
pelikhan May 19, 2025
fbdeb40
[skip ci] updated version numbers
pelikhan May 19, 2025
75f827f
wording
pelikhan May 19, 2025
5e75621
[genai] generated blog posts
pelikhan May 20, 2025
09284ff
✨ feat: add support for updating GitHub issues
pelikhan May 20, 2025
99ba7ed
Release 1.138.3
pelikhan May 20, 2025
ed0ab1e
[skip ci] updated version numbers
pelikhan May 20, 2025
b1f8c56
ignore .http files
pelikhan May 20, 2025
8774696
[genai] generated blog posts
pelikhan May 21, 2025
83f1532
✨ chore: update dependencies across multiple packages
pelikhan May 21, 2025
f35b8c5
🩹: Remove sensitive debug logging for tokens
pelikhan May 21, 2025
47f7941
✨: Improve body formatting in traceFetchPost
pelikhan May 21, 2025
744c97c
Release 1.138.4
pelikhan May 21, 2025
e294b8f
[skip ci] updated version numbers
pelikhan May 21, 2025
d4ec1fc
✨ chore: Update dependencies across multiple packages
pelikhan May 21, 2025
fad1a6a
Release 1.138.5
pelikhan May 21, 2025
e4c8567
[skip ci] updated version numbers
pelikhan May 21, 2025
8d81ea8
[genai] generated blog posts
pelikhan May 22, 2025
2027081
✨ refactor collectFolders to specify return type
pelikhan May 22, 2025
49e3fd2
don't fix node_modules (#1568)
pelikhan May 22, 2025
cf3ba03
✨ feat: add asset URL resolution for GitHub uploads (#1569)
pelikhan May 22, 2025
834b673
OpenAPI (#1571)
pelikhan May 23, 2025
e2ff5e8
Release 1.139.0
pelikhan May 23, 2025
7bd372c
[skip ci] updated version numbers
pelikhan May 23, 2025
1335c46
complete the sentence (#1572)
mrjf May 24, 2025
7b96f4c
web api improvements (#1573)
pelikhan May 24, 2025
750a135
✨ refactor: simplify OpenAPI server schema check logic
pelikhan May 24, 2025
c6bad43
[genai] generated blog posts
pelikhan May 25, 2025
30c850a
[genai] generated blog posts
pelikhan May 26, 2025
a199d13
use query argument in openapi
pelikhan May 26, 2025
da4a1a8
✨ enhance: refine OpenAPI server schemas and handlers
pelikhan May 26, 2025
03d5ed8
[genai] generated blog posts
pelikhan May 27, 2025
35cc515
require node v22
pelikhan May 27, 2025
d984d71
add dev container info
pelikhan May 27, 2025
e8966c1
split configuration page (#1576)
pelikhan May 27, 2025
c34948e
added docker model runner
pelikhan May 27, 2025
900f286
Release 1.140.0
pelikhan May 27, 2025
b674bab
[skip ci] updated version numbers
pelikhan May 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "mcr.microsoft.com/devcontainers/javascript-node:20",
"image": "mcr.microsoft.com/devcontainers/javascript-node:22",
"postCreateCommand": "yarn install --frozen-lockfile --prefer-offline && yarn install:playwright",
"customizations": {
"vscode": {
Expand All @@ -16,7 +16,8 @@
"GitHub.vscode-pull-request-github",
"usernamehw.errorlens",
"goessner.mdmath",
"vsls-contrib.gistfs"
"vsls-contrib.gistfs",
"ms-azuretools.vscode-containers"
]
}
},
Expand Down
5 changes: 4 additions & 1 deletion .genaiscript/instructions/genaiscript.instructions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
---
applyTo: '**/*.genai.js,**/*.genai.ts,**/*.genai.mjs,**/*.genai.mts'
---
## GenAIScript Code Generation Instructions

GenAIScript is a custom runtime for node.js. It provides a set of unique APIs and support the TypeScript syntax.
GenAIScript is a custom runtime for node.js. It provides a set of unique APIs and support the TypeScript syntax, ESM, await/async.

- GenAIScript documentation: https://microsoft.github.io/genaiscript/llms-full.txt

Expand Down
22 changes: 22 additions & 0 deletions .github/prompts/doc-writer.prompt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
mode: 'agent'
---
You are writing technical documentation for the GenAIScript project, which uses TypeScript.

Your task is the review and update the current documentation page.

- Check the grammar and spelling of the text.
- Ensure that the content is clear and concise.
- Ensure that the content is accurate and up-to-date.
- Ensure that the content follows the conventions of technical writing.
- Ensure that the content is formatted in Markdown for the Astro Starlight documentation.
- DO NOT edit any other pages.

## Writing Guidelines

Follow the Microsoft Learn writing style. Your output should be **clear, concise, inclusive, and well-structured**. Use the guidance below for all documentation types (API reference, how-to guides, tutorials, conceptual docs).

### Style and Voice
- Use **simple, direct sentences**. Avoid filler and jargon.
- Write in **second person**, active voice. Use a friendly, solution-focused tone.
- Use **inclusive language**. Prefer gender-neutral terms (e.g., "you", "they", "partner").
2 changes: 1 addition & 1 deletion .github/workflows/anthropic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ name: genai commit tests

on:
workflow_dispatch:
schedule:
- cron: "0 7 * * *"
push:
branches: [main]
branches: [dev]
paths:
- "packages/core/**"
- "packages/sample/**"
- "packages/cli/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: -genai-test-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
models: read
contents: read
pull-requests: write
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,27 +25,21 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
run: yarn compile:action
- name: download ollama docker
run: yarn ollama:start
- name: generate dummy result
working-directory: packages/sample
run: mkdir -p temp && touch temp/commit-tests.txt
- name: select llm tests to run
run: node packages/cli/built/genaiscript.cjs run test-commit --out-trace $GITHUB_STEP_SUMMARY --model azure:gpt-4o --small-model azure:gpt-4o-mini
run: node packages/cli/built/genaiscript.cjs run test-commit --out-trace $GITHUB_STEP_SUMMARY -p github
env:
AZURE_OPENAI_API_ENDPOINT: ${{ secrets.AZURE_OPENAI_API_ENDPOINT }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: run llm tests
working-directory: packages/sample
run: xargs -r -a temp/commit-tests.txt node ../cli/built/genaiscript.cjs test --out-summary $GITHUB_STEP_SUMMARY --test-delay 10 --model azure:gpt-4o --small-model azure:gpt-4o-mini
run: xargs -r -a temp/commit-tests.txt node ../cli/built/genaiscript.cjs test --out-summary $GITHUB_STEP_SUMMARY --test-delay 10 -p github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AZURE_OPENAI_API_ENDPOINT: ${{ secrets.AZURE_OPENAI_API_ENDPOINT }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
WEATHER_API_KEY: ${{ secrets.WEATHER_API_KEY }}

2 changes: 1 addition & 1 deletion .github/workflows/build-genai.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: build
permissions:
contents: read
models: read
on:
push:
branches: [main, dev]
Expand All @@ -11,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22, 23]
node-version: [22, 23, 24]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -37,5 +38,9 @@ jobs:
run: yarn test:core
- name: unit tests
run: yarn test:samples
- name: unit tests (2)
- name: unit test:modulesamples
run: yarn test:modulesamples
- name: github models
run: yarn genai poem -p github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/cli-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- run: yarn playwright install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/genai-azure-service-principal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/genai-blog-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
ref: dev
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/genai-commander.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
#
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- name: install dependencies
run: yarn install --frozen-lockfile
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/genai-commit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: genai commit tests
permissions:
contents: read
models: read
on:
push:
branches: [main, dev]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22]
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "${{ matrix.node-version }}"
cache: yarn
- run: sudo apt-get update && sudo apt-get install ffmpeg
- run: yarn install --frozen-lockfile --prefer-offline
- name: compile
run: yarn compile:action
- name: echo tests
run: yarn test:scripts -g commit -p github --test-timeout 60
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/genai-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
ref: ${{ github.head_ref }}
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
39 changes: 39 additions & 0 deletions .github/workflows/genai-iat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: genai iat
on:
workflow_dispatch:
push:
branches:
- dev
paths:
- "docs/src/content/docs/**.md*"
concurrency:
group: iat-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
pull-requests: write
models: read
contents: write
jobs:
generate-alt-text:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
run: yarn compile
- name: genaiscript
run: node packages/cli/built/genaiscript.cjs run iat -m github:gpt-4.1 --out-trace $GITHUB_STEP_SUMMARY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: stefanzweifel/git-auto-commit-action@v5
with:
file_pattern: "docs/src/content/docs/**.md*"
commit_message: "[genai] image alt text"
commit_user_name: "genaiscript"
2 changes: 1 addition & 1 deletion .github/workflows/genai-investigator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/genai-issue-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ jobs:
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
run: yarn compile
- name: start ollama
run: yarn ollama:start
- name: genaiscript issue-review
run: node packages/cli/built/genaiscript.cjs run issue-bot -p github -prc bot --out-output $GITHUB_STEP_SUMMARY
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/genai-issue-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/genai-linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/genai-pr-commit-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ on:
- "packages/core/**/*"
- "packages/cli/**/*"
- "packages/samples/**/*"
env:
GENAISCRIPT_DEFAULT_REASONING_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_REASONING_MODEL }}
GENAISCRIPT_DEFAULT_REASONING_SMALL_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_REASONING_SMALL_MODEL }}
GENAISCRIPT_DEFAULT_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_MODEL }}
GENAISCRIPT_DEFAULT_SMALL_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_SMALL_MODEL }}
GENAISCRIPT_DEFAULT_VISION_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_VISION_MODEL }}
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -26,17 +20,15 @@ jobs:
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
run: yarn compile:action
- name: start ollama
run: yarn ollama:start
- name: git stuff
run: git fetch origin && git pull origin dev:dev
- name: genaiscript pr-review-commit
run: node packages/cli/built/genaiscript.cjs run pr-review-commit --out ./temp/genai/pr-review-commit -prr --out-trace $GITHUB_STEP_SUMMARY --vars defaultBranch=dev
run: node packages/cli/built/genaiscript.cjs run pr-review-commit -p github --out ./temp/genai/pr-review-commit -prr --out-trace $GITHUB_STEP_SUMMARY --vars defaultBranch=dev
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/genai-pr-docs-commit-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ on:
paths:
- docs/**/*.md
- docs/**/*.mdx
env:
GENAISCRIPT_DEFAULT_REASONING_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_REASONING_MODEL }}
GENAISCRIPT_DEFAULT_REASONING_SMALL_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_REASONING_SMALL_MODEL }}
GENAISCRIPT_DEFAULT_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_MODEL }}
GENAISCRIPT_DEFAULT_SMALL_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_SMALL_MODEL }}
GENAISCRIPT_DEFAULT_VISION_MODEL: ${{ vars.GENAISCRIPT_DEFAULT_VISION_MODEL }}
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,17 +17,15 @@ jobs:
fetch-depth: 10
- uses: actions/setup-node@v4
with:
node-version: "20"
node-version: "22"
cache: yarn
- run: yarn install --frozen-lockfile
- name: compile
run: yarn compile
- name: start ollama
run: yarn ollama:start
- name: git stuff
run: git fetch origin && git pull origin dev:dev
- name: genaiscript pr-review-commit
run: node packages/cli/built/genaiscript.cjs run pr-docs-review-commit --out ./temp/genai/pr-docs-review-commit -prr --out-trace $GITHUB_STEP_SUMMARY --vars defaultBranch=dev
run: node packages/cli/built/genaiscript.cjs run pr-docs-review-commit --out ./temp/genai/pr-docs-review-commit -prr --out-trace $GITHUB_STEP_SUMMARY --vars defaultBranch=dev -p github
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Loading