codeinterpreter-api icon indicating copy to clipboard operation
codeinterpreter-api copied to clipboard

Getting "AttributeError: 'coroutine' object has no attribute 'show'" while running the examples

Open sanzgiri opened this issue 1 year ago • 3 comments

Hi,

I tried to run the examples in the README and am running into this error. Any help is appreciated. Thanks.

/usr/local/lib/python3.10/dist-packages/debugpy/_vendored/pydevd/_pydevd_bundle/_debug_adapter/pydevd_schema.py:13622: RuntimeWarning: coroutine 'CodeInterpreterSession.agenerate_response' was never awaited
  self.source = Source(update_ids_from_dap=update_ids_from_dap, **source) if source.__class__ !=  Source else source
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

AttributeError                            Traceback (most recent call last)
[<ipython-input-24-e9de3efe595c>](https://localhost:8080/#) in <cell line: 2>()
      7 
      8     # output the response
----> 9     response.show()

AttributeError: 'coroutine' object has no attribute 'show'

sanzgiri avatar Sep 18 '23 03:09 sanzgiri

Same error too

bensonbs avatar Sep 21 '23 15:09 bensonbs

+1

ChangweiZhang avatar Sep 22 '23 05:09 ChangweiZhang

Running into the same issue. Anyone able to overcome this?

vdemchenko3 avatar Sep 28 '23 15:09 vdemchenko3