-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdebug_output.txt
More file actions
264 lines (253 loc) · 10.5 KB
/
debug_output.txt
File metadata and controls
264 lines (253 loc) · 10.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
python : C:\Users\rya
nn\OneDrive\Desktop\p
rojects\CxC\CxC2026\b
ackend\app\agent\node
s\vision.py:5:
FutureWarning:
At line:1 char:1
+ python scripts/veri
fy_chat_node.py >
debug_output.txt 2>&1
+ ~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpe
cified: (C:\User
s\ryann\...Futur
eWarning: :Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError
All support for the `
google.generativeai`
package has ended.
It will no longer be
receiving
updates or bug
fixes. Please switch
to the
`google.genai`
package as soon as
possible.
See README for more
details:
https://github.com/go
ogle-gemini/deprecate
d-generative-ai-pytho
n/blob/main/README.md
import
google.generativeai
as genai
--- Starting Node Isolation Verification ---
Test 1: Router Classification
Input: 'Hello' -> Decision: chat
Input: 'I hate red' -> Decision: update_preferences
Input: 'Find cheaper ones' -> Decision: market_scout_search
Test 2: Chat Node Response
Traceback (most
recent call last):
File "C:\Users\ryan
n\OneDrive\Desktop\pr
ojects\CxC\CxC2026\sc
ripts\verify_chat_nod
e.py", line 66, in
test_nodes_isolation
res = await node_
chat(state_chat_node)
^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryan
n\OneDrive\Desktop\pr
ojects\CxC\CxC2026\ba
ckend\app\agent\nodes
\chat.py", line 126,
in node_chat
response = await
response_chain.ainvok
e({})
^^^^^^
^^^^^^^^^^^^^^^^^^^^^
^^^^^
File "C:\Users\ryan
n\AppData\Local\Packa
ges\PythonSoftwareFou
ndation.Python.3.11_q
bz5n2kfra8p0\LocalCac
he\local-packages\Pyt
hon311\site-packages\
langchain_core\runnab
les\base.py", line
3193, in ainvoke
input_ = await co
ro_with_context(part(
), context,
create_task=True)
^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^
File "C:\Users\ryan
n\AppData\Local\Packa
ges\PythonSoftwareFou
ndation.Python.3.11_q
bz5n2kfra8p0\LocalCac
he\local-packages\Pyt
hon311\site-packages\
langchain_core\prompt
s\base.py", line
249, in ainvoke
return await self
._acall_with_config(
^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ryan
n\AppData\Local\Packa
ges\PythonSoftwareFou
ndation.Python.3.11_q
bz5n2kfra8p0\LocalCac
he\local-packages\Pyt
hon311\site-packages\
langchain_core\runnab
les\base.py", line
2111, in
_acall_with_config
output: Output =
await coro_with_conte
xt(coro, context)
^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^
File "C:\Users\ryan
n\AppData\Local\Packa
ges\PythonSoftwareFou
ndation.Python.3.11_q
bz5n2kfra8p0\LocalCac
he\local-packages\Pyt
hon311\site-packages\
langchain_core\prompt
s\base.py", line
202, in _aformat_prom
pt_with_error_handlin
g
inner_input_ = se
lf._validate_input(in
ner_input)
^^
^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^
File "C:\Users\ryan
n\AppData\Local\Packa
ges\PythonSoftwareFou
ndation.Python.3.11_q
bz5n2kfra8p0\LocalCac
he\local-packages\Pyt
hon311\site-packages\
langchain_core\prompt
s\base.py", line
190, in
_validate_input
raise KeyError(
KeyError: 'Input to
ChatPromptTemplate
is missing variables
{"\'recommended_produ
ct\'"}. Expected: ["
\'recommended_product
\'"] Received:
[]\nNote: if you
intended {\'recommend
ed_product\'} to be
part of the string
and not a variable,
please escape it
with double curly
braces like: \'{{\'re
commended_product\'}}
\'.\nFor
troubleshooting,
visit: https://docs.l
angchain.com/oss/pyth
on/langchain/errors/I
NVALID_PROMPT_INPUT '
During handling of
the above exception,
another exception
occurred:
Traceback (most
recent call last):
File "C:\Users\ryan
n\OneDrive\Desktop\pr
ojects\CxC\CxC2026\sc
ripts\verify_chat_nod
e.py", line 73, in
<module>
asyncio.run(test_
nodes_isolation())
File "C:\Program Fi
les\WindowsApps\Pytho
nSoftwareFoundation.P
ython.3.11_3.11.2544.
0_x64__qbz5n2kfra8p0\
Lib\asyncio\runners.p
y", line 190, in run
return
runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Program Fi
les\WindowsApps\Pytho
nSoftwareFoundation.P
ython.3.11_3.11.2544.
0_x64__qbz5n2kfra8p0\
Lib\asyncio\runners.p
y", line 118, in run
return self._loop
.run_until_complete(t
ask)
^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
^^^^
File "C:\Program Fi
les\WindowsApps\Pytho
nSoftwareFoundation.P
ython.3.11_3.11.2544.
0_x64__qbz5n2kfra8p0\
Lib\asyncio\base_even
ts.py", line 654, in
run_until_complete
return
future.result()
^^^^^^^^^^^^^^^
File "C:\Users\ryan
n\OneDrive\Desktop\pr
ojects\CxC\CxC2026\sc
ripts\verify_chat_nod
e.py", line 70, in
test_nodes_isolation
print(f"\u274c
Chat Node Failed:
{e}")
File "C:\Program Fi
les\WindowsApps\Pytho
nSoftwareFoundation.P
ython.3.11_3.11.2544.
0_x64__qbz5n2kfra8p0\
Lib\encodings\cp1252.
py", line 19, in
encode
return codecs.cha
rmap_encode(input,sel
f.errors,encoding_tab
le)[0]
^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^
^^^
UnicodeEncodeError:
'charmap' codec
can't encode
character '\u274c'
in position 0:
character maps to
<undefined>