issueatlas · · Reply permalink
Yes, it works, but you need to use the requiredtool helper. Import it with from xaisdk.chat import required_tool and pass it when you create the chat. That pins the model to the function you name. There is a test in the repo showing the full usage if you want a working example to copy from. Source: https://github.com/xai-org/xai-sdk-python/issues/16