Skip to content

Commit 5e9a8ff

Browse files
committed
feat: remove unuse files
1 parent ee7911f commit 5e9a8ff

File tree

4 files changed

+0
-96
lines changed

4 files changed

+0
-96
lines changed

prompt/prompt_md_sample.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

prompt/system_prompt.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

prompt/template.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

prompt/template_loader.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ def get_prompt_template(prompt_name: str) -> str:
1414
raise FileNotFoundError(f"경고: '{prompt_name}.md' 파일을 찾을 수 없습니다.")
1515
return template
1616

17-
18-
def apply_prompt_template(prompt_name: str, state: AgentState) -> list:
19-
system_prompt = PromptTemplate(
20-
input_variables=["CURRENT_TIME"],
21-
template=get_prompt_template(prompt_name),
22-
).format(CURRENT_TIME=datetime.now().strftime("%a %b %d %Y %H:%M:%S %z"), **state)
23-
24-
# system prompt template 설정
25-
return [{"role": "system", "content": system_prompt}] + state["messages"]
26-
27-
2817
if __name__ == "__main__":
2918
print(get_prompt_template("system_prompt"))
3019
# print(apply_prompt_template("prompt_md_sample", {"messages": []}))

0 commit comments

Comments
 (0)