matlab-deep-learning / llms-with-matlab

Connect MATLAB to LLM APIs, including OpenAI® Chat Completions, Azure® OpenAI Services, and Ollama™
Other
108 stars 24 forks source link

OPENAI_KEY as env variable and extra tests #27

Closed vpapanasta closed 6 months ago

vpapanasta commented 6 months ago

In this change, I am setting secrets.OPENAI_KEY as an environment variable that we can use in tests. Also, I am adding some tests to increase code coverage in openAIChat. One test of these uses the secret OPENAI_KEY, and it was added to check that we can use the key.

codecov-commenter commented 6 months ago

Welcome to Codecov :tada:

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered :open_umbrella: