We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03d5db0 + cb229ca commit b718684Copy full SHA for b718684
src/funcchain/syntax/executable.py
@@ -42,6 +42,8 @@ def chain(
42
43
# todo maybe this should be done in the prompt processor?
44
system = system or settings.system_prompt
45
+ if system:
46
+ context = [SystemMessage(content=system)] + context
47
instruction = instruction or from_docstring()
48
49
# temp image handling
@@ -90,6 +92,8 @@ async def achain(
90
92
91
93
94
95
96
97
98
99
0 commit comments