Add promptTokens and completionTokens to model output (#11)
* Default to streaming in config * Add tokens to database * Add NEXT_PUBLIC_SOCKET_URL to .env.example * Disable streaming for functions * Add newline to types
This commit is contained in:
@@ -15,4 +15,6 @@ DATABASE_URL="postgresql://postgres:postgres@localhost:5432/querykey?schema=publ
|
||||
|
||||
# OpenAI API key. Instructions on generating a key can be found here:
|
||||
# https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key
|
||||
OPENAI_API_KEY=""
|
||||
OPENAI_API_KEY=""
|
||||
|
||||
NEXT_PUBLIC_SOCKET_URL="http://localhost:3318"
|
||||
|
||||
Reference in New Issue
Block a user