* add: validate thread creation in ollama channel * rm: channel_id variable * add: short notes for threads * update: openFile to openConfig for clarity * update: test ci runs on master * add: notes for work * add: basic chat storing via json * update: stores entire msgHist according to capacity * add: removes json file if thread is deleted * add: chats with independent histories * add: private vs public threads * update: validate threads made by ollama for chats * update: cleanup and version increment
12 lines
347 B
TypeScript
12 lines
347 B
TypeScript
import { getEnvVar } from './utils/env.js'
|
|
|
|
export const Keys = {
|
|
clientToken: getEnvVar('CLIENT_TOKEN'),
|
|
model: getEnvVar('MODEL'),
|
|
clientUid: getEnvVar('CLIENT_UID'),
|
|
guildId: getEnvVar('GUILD_ID'),
|
|
ipAddress: getEnvVar('OLLAMA_IP'),
|
|
portAddress: getEnvVar('OLLAMA_PORT'),
|
|
} as const // readonly keys
|
|
|
|
export default Keys |