Skip to content

Commit

Permalink
Update test part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhitfield3 committed Dec 5, 2024
1 parent f8034ad commit 7b1e0c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/lib/base.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ describe('attempt a request using the Heroku AI client', function () {
const {message} = error as Error
expect(stripAnsi(message)).to.equal(heredoc`
Multiple model resources match heroku-inference: ${addon1.name}, ${addon2.name}, ${addon3.name}, ${addon4.name}.
Specify the model resource by its name instead.
Specify the model resource by its alias instead.
`)
}

Expand Down Expand Up @@ -290,7 +290,7 @@ describe('attempt a request using the Heroku AI client', function () {
const {message} = error as Error
expect(stripAnsi(message)).to.equal(heredoc`
Multiple model resources match heroku-inference:claude-3-5-sonnet-latest: ${addon2.name}, ${addon4.name}.
Specify the model resource by its name instead.
Specify the model resource by its alias instead.
`)
}

Expand Down Expand Up @@ -349,7 +349,7 @@ describe('attempt a request using the Heroku AI client', function () {
const {message} = error as Error
expect(stripAnsi(message)).to.equal(heredoc`
Multiple model resources match INFERENCE on app1: ${addon2Attachment1.name}, ${addon2Attachment2.name}, ${addon3Attachment1.name}.
Specify the model resource by its name instead.
Specify the model resource by its alias instead.
`)
}

Expand Down Expand Up @@ -594,7 +594,7 @@ describe('attempt a request using the Heroku AI client', function () {
const {message} = error as Error
expect(stripAnsi(message)).to.equal(heredoc`
Multiple model resources match INFERENCE on app2: ${addon3.name}, ${addon4.name}.
Specify the model resource by its name instead.
Specify the model resource by its alias instead.
`)
}

Expand Down

0 comments on commit 7b1e0c3

Please sign in to comment.