final class ChatbaseClient
The main entry point. You can call it from any task or actor.
init
String
required
The Chatbase agent ID to connect to.
String
default:"https://www.chatbase.co/api/sdk"
The Chatbase API address. Leave this at its default.
URLSessionConfiguration
default:".default"
The
URLSessionConfiguration used for every request. Set timeouts and caching here.Int
default:"10"
How many times a single
send or retry may run tools before giving up. Going over throws ChatError.toolLoopLimitExceeded(limit:). See Client-Side Tools.