mirror of
https://github.com/Paillat-dev/viralfactory.git
synced 2026-01-02 17:24:54 +00:00
Formatting & improving imports
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user