Add Dockerfile and captain-definition for container setup
This commit is contained in:
4
captain-definition
Normal file
4
captain-definition
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"schemaVersion": 2,
|
||||
"dockerfilePath": "./Dockerfile"
|
||||
}
|
||||
@@ -104,6 +104,7 @@ export async function messagehandler(bot: Bot, message: Message) {
|
||||
break;
|
||||
// TODO Add exception for when the ollama api is down
|
||||
}
|
||||
}
|
||||
|
||||
function defaultString(s: string): string {
|
||||
return s === "" ? "ERROR: Tried to send empty message" : s;
|
||||
|
||||
Reference in New Issue
Block a user