Skip to content

Commit 7068226

Browse files
committed
update notebook to verify
1 parent 0e844e3 commit 7068226

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/ModelModelModels.ipynb

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"from typing import Optional\n",
1919
"from pydantic import BaseModel, Field\n",
2020
"\n",
21+
"\n",
2122
"# Define a function to use in testing\n",
2223
"def simple_func(x: int, y: str, z: bool = False):\n",
2324
" \"\"\"A simple test function\"\"\"\n",
@@ -50,7 +51,7 @@
5051
" foo: int\n",
5152
" bar: str\n",
5253
" baz: bool = True\n",
53-
" simple_model: SimpleModel\n"
54+
" simple_model: SimpleModel"
5455
]
5556
},
5657
{
@@ -72,7 +73,7 @@
7273
},
7374
{
7475
"cell_type": "code",
75-
"execution_count": 6,
76+
"execution_count": 4,
7677
"metadata": {},
7778
"outputs": [
7879
{
@@ -100,7 +101,7 @@
100101
"}</div></div><div><div style=\"color: #27374D; font-weight: 500; margin-bottom: 5px\">Output:</div><div style=\"background: #F7F9FA; color: #27374D; font-family: monospace; margin-bottom: 10px; overflow-x: auto; padding: 10px; unicode-bidi: embed; white-space: pre\">10, example, True, {&#x27;x&#x27;: 5, &#x27;y&#x27;: &#x27;model&#x27;, &#x27;z&#x27;: False}, {&#x27;foo&#x27;: 1, &#x27;bar&#x27;: &#x27;nested&#x27;, &#x27;baz&#x27;: True, &#x27;simple_model&#x27;: {&#x27;x&#x27;: 2, &#x27;y&#x27;: &#x27;nested_model&#x27;, &#x27;z&#x27;: True}}</div></div></div></details></div>"
101102
],
102103
"text/plain": [
103-
"<chatlab.display.ChatFunctionCall at 0x10ff36250>"
104+
"<chatlab.display.ChatFunctionCall at 0x121690d90>"
104105
]
105106
},
106107
"metadata": {},

0 commit comments

Comments
 (0)