(If you missed it, check out my previous post on Getting Started with OpenOPC to see why I'm using this agent framework in the first place!)

I recently started setting up OpenOPC to run my AI agents. To save on API costs, I decided to hook it up to a custom, OpenAI-compatible proxy at https://api.freetheai.xyz/v1.

I expected it to be a simple drop-in replacement. In other platforms, you just set your model to something like glm/glm-5.2 and it works perfectly. So, I updated my .opc/config/llm_config.yaml:

llm:

default_model: "glm/glm-5.2"