Formatting & improving imports

This commit is contained in:
2024-02-23 09:50:43 +01:00
parent aa5c03b17e
commit 32b6b5c42e
40 changed files with 148 additions and 150 deletions

View File

@@ -1,7 +1,8 @@
import yaml
import os
from typing import TypedDict
import yaml
class Prompt(TypedDict):
system: str
@@ -9,7 +10,7 @@ class Prompt(TypedDict):
def get_prompt(
name, *, location: str = "src/chore/prompts", by_file_location: str = None
name, *, location: str = "src/chore/prompts", by_file_location: str = None
) -> tuple[str, str]:
if by_file_location:
path = os.path.join(