py2wasm
to compile. A simple test can be made by...from llama_index.core.chat_engine.types import StreamingAgentChatResponse
py2wasm -o llama.wasm llama.py
OpenAIAgent.from_tools
how to get a list of tools that have already been added, and add more without redefining the agent entirely?FunctionTool.from_defaults()
meant to be able to handle class methods? I tried to pass one to it and it hangs. For some reason I can't debug it either. No breakpoints work in it.