Hi, I wonder is there a guide to add custom Agent based on AgentRunner and AgentWorker? Currently only OpenAIAgent and ReActAgent are supported, but I want to add custom agent for Ollama as well.
THanks, is there any document on this? How about the AgentRunner? What I want to do is to have the open source LLMs to retry with the feedback from Human for the previous step until it can get the correct input and function name.
not really any docs on it yet, its quite new. I would read the source code I linked above, and look at the react and openai implementations as reference
https://github.com/run-llama/llama_index/pull/9833/files @Logan M Another PR to allow kwargs for Pydantic program. This will help with passing params to llm.chat/achat/complete/acomplete . This is required if we want to use format="json" for Ollama.