Skip to content

Commit 7094050

Browse files
committed
fix tests
Signed-off-by: Louis Mandel <[email protected]>
1 parent 4e86ee7 commit 7094050

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

examples/demos/react_fun.pdl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ description: Function definition for react
22
defs:
33
react_inner:
44
function:
5-
examples: [str]
6-
question: str
7-
model: str
5+
examples: [string]
6+
question: string
7+
model: string
88
return:
99
text:
1010
- defs:
@@ -103,8 +103,8 @@ defs:
103103

104104
react:
105105
function:
106-
question: str
107-
model: str
106+
question: string
107+
model: string
108108
return:
109109
defs:
110110
examples:

examples/demos/repair_prompt.pdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ lastOf:
1515

1616
- lang: python
1717
def: parsed_output
18-
spec: {thought: str, code_line: str}
18+
spec: {thought: string, code_line: string}
1919
code: |
2020
import repair_main
2121
# (In PDL, set `result` to the output you wish for your code block.)
2222
result = repair_main.parse_output(raw_output)
2323

24-
- spec: {before: str, after: str}
24+
- spec: {before: string, after: string}
2525
object:
2626
before: ${code_line}
2727
after: ${parsed_output.code_line}

examples/tools/wiki.pdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ text:
2525
- def: actions
2626
model: ollama_chat/granite3.3:8b
2727
parser: json
28-
spec: [{ name: str, arguments: { topic: str }}]
28+
spec: [{ name: string, arguments: { topic: string }}]
2929
- "\n"
3030
- if: ${ actions[0].name == "search" }
3131
then:

0 commit comments

Comments
 (0)