We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3506dc commit aad3ccfCopy full SHA for aad3ccf
src/pdl/pdl_interpreter.py
@@ -1416,6 +1416,8 @@ def process_call_model(
1416
)
1417
try:
1418
model_input_result = model_input_future.result()
1419
+ if isinstance(model_input_result, str):
1420
+ model_input_result = [{"role": state.role, "content": model_input_result}]
1421
model_input_context = ensure_context(model_input_result)
1422
match block:
1423
case LitellmModelBlock():
0 commit comments