fix: added base Skills class and env var

pull/38/head
Shiven Mian 11 months ago
parent b76bbc3e40
commit 502d26dd63

@ -5,6 +5,7 @@
# else we use whisper.cpp and piper local models
ALL_LOCAL=False
WHISPER_MODEL_NAME="ggml-tiny.en.bin"
TEACH_MODE=False
# Uncomment to set your OpenAI API key
# OPENAI_API_KEY=sk-...

@ -0,0 +1,9 @@
from datetime import datetime
class Skill:
def __init__(self, name: str):
self.skill_name = name
self.steps = []
def teach(self, code: str):
self.steps.append(code)
Loading…
Cancel
Save