Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 617 Bytes

README.md

File metadata and controls

34 lines (20 loc) · 617 Bytes

Connectivity Test

Use this folder to test the connectivity of the LLM Service.

Steps

Preparation

create .env file

# replace by your gpt-4o api key
OPENAI_API_KEY="YOUR_TOKEN"

Refer to this document if your want to use other models like Qwen: https://midscenejs.com/choose-a-model

Run

npm install 
npm run test

FAQ

  • How to resolve "OPENAI_BASE_URL" is already defined and was NOT overwritten ?

Remove the OPENAI_BASE_URL from your system environment variables so that the .env file can take effect.

Reference

https://midscenejs.com/model-provider.html