Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Conversation

@louis-jan
Copy link
Contributor

@louis-jan louis-jan commented Jun 26, 2024

Describe Your Changes

  • This PR is to add new Cortex commands
// Get all configs
cortex configs list

// Get a config
cortex configs get openai

// Set a config value
cortex configs set -k apiKey -v 'xx-yy' -g openai
// Get all available engines
cortex engines list

// Get an engine
cortex engines get openai

Screenshot 2024-06-26 at 17 49 54

Screenshot 2024-06-26 at 17 50 09

Screenshot 2024-06-26 at 20 58 16

Screenshot 2024-06-26 at 17 47 32

Screenshot 2024-06-26 at 17 47 50

Screenshot 2024-06-26 at 17 48 02

Screenshot 2024-06-26 at 17 48 54

Screenshot 2024-06-26 at 17 48 59

API

Screenshot 2024-06-26 at 20 43 36

Screenshot 2024-06-26 at 20 43 41

Screenshot 2024-06-26 at 20 51 15

Screenshot 2024-06-26 at 20 58 45

Screenshot 2024-06-26 at 21 31 44

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

@louis-jan louis-jan force-pushed the feat/support-cortex-configs-and-engines-commands branch 2 times, most recently from d6bf908 to 99f5d96 Compare June 26, 2024 10:45
@louis-jan louis-jan force-pushed the feat/support-cortex-configs-and-engines-commands branch 2 times, most recently from c6ce3b8 to 58cb7e6 Compare June 26, 2024 10:50
@louis-jan louis-jan force-pushed the feat/support-cortex-configs-and-engines-commands branch from 58cb7e6 to 34a4888 Compare June 26, 2024 10:55
@louis-jan
Copy link
Contributor Author

Since this PR, all APIs available at /v1

Also printed out Playground URL

@louis-jan louis-jan merged commit 7e4e1b8 into dev Jun 26, 2024
@louis-jan louis-jan deleted the feat/support-cortex-configs-and-engines-commands branch June 26, 2024 15:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants