Skip to content

Commit

Permalink
Merge pull request #636 from janhq/api-update
Browse files Browse the repository at this point in the history
api: Remove the "/" from the URL
  • Loading branch information
irfanpena authored May 30, 2024
2 parents 261ab11 + 5cb8e7a commit c08c797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cortex-js/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async function bootstrap() {
.addTag('Models', 'These endpoints provide a list and descriptions of all available models within the Cortex framework.')
.addTag('Messages', "These endpoints manage the retrieval and storage of conversation content, including responses from LLMs and other metadata related to chat interactions.")
.addTag('Threads', 'These endpoints handle the creation, retrieval, updating, and deletion of conversation threads.')
.addServer('http://localhost:1337/')
.addServer('http://localhost:1337')
.addServer('http://localhost:1337/v1')
.build();
const document = SwaggerModule.createDocument(app, config);
Expand Down

0 comments on commit c08c797

Please sign in to comment.