Skip to content

Commit

Permalink
tweak .yml and trigger build
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed May 31, 2024
1 parent cac5a59 commit 71fe202
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/ollama.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
name: ollama smoke tests
on:
workflow_dispatch:
pull_request:
paths:
- yarn.lock
- "packages/core/**/*"
- "packages/cli/**/*"
- "packages/samples/**/*"
push:
branches:
- main
paths:
- yarn.lock
- "packages/core/**/*"
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function parseModelSpec(m: string): ModelOptions {
else return { model: m }
}

// special handling of azure ai
async function resolveTestProvider(script: PromptScript) {
const token = await host.getLanguageModelConfiguration(script.model)
if (token && token.type === "azure") return token.base
Expand Down

0 comments on commit 71fe202

Please sign in to comment.