Skip to content

Latest commit

 

History

History

connectivity-test

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

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