You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Traceback (most recent call last):
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/main.py", line 97, in
main()
~~~~^^
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/main.py", line 94, in main
tutorial_flow.run(shared)
~~~~~~~~~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 16, in run
return self._run(shared)
~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 50, in _run
def _run(self,shared): p=self.prep(shared); o=self._orch(shared); return self.post(shared,p,o)
~~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 48, in _orch
while curr: curr.set_params(p); last_action=curr._run(shared); curr=copy.copy(self.get_next_node(curr,last_action))
~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 13, in _run
def _run(self,shared): p=self.prep(shared); e=self._exec(p); return self.post(shared,p,e)
~~~~~~~~~~^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 33, in _exec
if self.cur_retry==self.max_retries-1: return self.exec_fallback(prep_res,e)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 28, in exec_fallback
def exec_fallback(self,prep_res,exc): raise exc
^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 31, in _exec
try: return self.exec(prep_res)
~~~~~~~~~^^^^^^^^^^
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/nodes.py", line 176, in exec
response = call_llm(prompt, use_cache=(use_cache and self.cur_retry == 0)) # Use cache only if enabled and not retrying
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/utils/call_llm.py", line 123, in call_llm
r = client.chat.completions.create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
messages=[{"role": "user", "content": prompt}],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
model=deployment
^^^^^^^^^^^^^^^^
)
^
File "/opt/homebrew/lib/python3.13/site-packages/openai/_utils/_utils.py", line 287, in wrapper
return func(*args, **kwargs)
File "/opt/homebrew/lib/python3.13/site-packages/openai/resources/chat/completions/completions.py", line 925, in create
return self._post(
~~~~~~~~~~^
"/chat/completions",
^^^^^^^^^^^^^^^^^^^^
...<43 lines>...
stream_cls=Stream[ChatCompletionChunk],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/homebrew/lib/python3.13/site-packages/openai/_base_client.py", line 1239, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/openai/_base_client.py", line 1034, in request
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
The text was updated successfully, but these errors were encountered:
dcvtruong
changed the title
Error using chatgpt-4.1
Errors using chatgpt-4.1
Jun 9, 2025
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Identifying abstractions using LLM...
Traceback (most recent call last):
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/main.py", line 97, in
main()
~~~~^^
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/main.py", line 94, in main
tutorial_flow.run(shared)
~~~~~~~~~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 16, in run
return self._run(shared)
~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 50, in _run
def _run(self,shared): p=self.prep(shared); o=self._orch(shared); return self.post(shared,p,o)
~~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 48, in _orch
while curr: curr.set_params(p); last_action=curr._run(shared); curr=copy.copy(self.get_next_node(curr,last_action))
~~~~~~~~~^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 13, in _run
def _run(self,shared): p=self.prep(shared); e=self._exec(p); return self.post(shared,p,e)
~~~~~~~~~~^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 33, in _exec
if self.cur_retry==self.max_retries-1: return self.exec_fallback(prep_res,e)
~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 28, in exec_fallback
def exec_fallback(self,prep_res,exc): raise exc
^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/pocketflow/init.py", line 31, in _exec
try: return self.exec(prep_res)
~~~~~~~~~^^^^^^^^^^
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/nodes.py", line 176, in exec
response = call_llm(prompt, use_cache=(use_cache and self.cur_retry == 0)) # Use cache only if enabled and not retrying
File "/...../Codebase/.venv/PocketFlow-Tutorial-Codebase-Knowledge/utils/call_llm.py", line 123, in call_llm
r = client.chat.completions.create(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
messages=[{"role": "user", "content": prompt}],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<8 lines>...
model=deployment
^^^^^^^^^^^^^^^^
)
^
File "/opt/homebrew/lib/python3.13/site-packages/openai/_utils/_utils.py", line 287, in wrapper
return func(*args, **kwargs)
File "/opt/homebrew/lib/python3.13/site-packages/openai/resources/chat/completions/completions.py", line 925, in create
return self._post(
~~~~~~~~~~^
"/chat/completions",
^^^^^^^^^^^^^^^^^^^^
...<43 lines>...
stream_cls=Stream[ChatCompletionChunk],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/opt/homebrew/lib/python3.13/site-packages/openai/_base_client.py", line 1239, in post
return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/homebrew/lib/python3.13/site-packages/openai/_base_client.py", line 1034, in request
raise self._make_status_error_from_response(err.response) from None
openai.NotFoundError: Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}}
The text was updated successfully, but these errors were encountered: