The community member is trying to use a CoA agent, but is encountering an error with the as_agent() method. They have tried using different versions of the llama-index-core library, but the error persists. Some community members suggest that the as_agent() method should be available in the CoAAgentWorker class, which inherits from BaseAgentWorker. Another community member confirms that the method works fine for them locally and on Google Colab. However, there is no explicitly marked answer to the issue.
I have already tried using the current version 0.10.49 and the version 0.10.33 for llama index and llama index core where the as_agent() method was added and both give the same error. as_agent() wasn't reported to be deprecated in the changelogs