From 9a624e1ee375594f231b8957807085dc153a4872 Mon Sep 17 00:00:00 2001 From: Zane Whitfield Date: Mon, 2 Dec 2024 16:58:04 -0800 Subject: [PATCH] Update placeholder model card url --- src/commands/ai/models/list.ts | 2 +- test/commands/ai/models/list.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/ai/models/list.ts b/src/commands/ai/models/list.ts index cad93f3..fd06c73 100644 --- a/src/commands/ai/models/list.ts +++ b/src/commands/ai/models/list.ts @@ -31,6 +31,6 @@ export default class List extends Command { const {body: availableModels} = await herokuAIClient.get(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.') } } diff --git a/test/commands/ai/models/list.test.ts b/test/commands/ai/models/list.test.ts index 7711d72..e4f747d 100644 --- a/test/commands/ai/models/list.test.ts +++ b/test/commands/ai/models/list.test.ts @@ -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')