Skip to content

Commit

Permalink
Update placeholder model card url
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhitfield3 committed Dec 3, 2024
1 parent d380373 commit 9a624e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/commands/ai/models/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ export default class List extends Command {

const {body: availableModels} = await herokuAIClient.get<ModelList>(urlPath)
displayModels(availableModels)
ux.log('\nSee https://devcenter.heroku.com/articles/rainbow-unicorn-princess-models for more info.')
ux.log('\nSee https://devcenter.heroku.com/articles/heroku-inference_model-cards for more info.')
}
}
4 changes: 2 additions & 2 deletions test/commands/ai/models/list.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ describe('ai:models:list', function () {
expect(stdout.output).to.match(/claude-3-haiku\s+text-to-text/)
expect(stdout.output).to.match(/cohere-embed-multilingual\s+text-to-embedding/)
expect(stdout.output).to.match(/stable-image-ultra\s+text-to-image/)
expect(stdout.output).to.contain('See https://devcenter.heroku.com/articles/rainbow-unicorn-princess-models for more info')
expect(stdout.output).to.contain('See https://devcenter.heroku.com/articles/heroku-inference_model-cards for more info')
expect(stderr.output).to.eq('')
})

it('warns if no models are available', async function () {
const statusURL = 'https://status.heroku.com/'
const modelsDevCenterURL = 'https://devcenter.heroku.com/articles/rainbow-unicorn-princess-models'
const modelsDevCenterURL = 'https://devcenter.heroku.com/articles/heroku-inference_model-cards'

herokuAI
.get('/available-models')
Expand Down

0 comments on commit 9a624e1

Please sign in to comment.