NewWithAddress
function creates a new RunAgent client with the following parameters:
Parameter | Type | Description |
---|---|---|
agentID | string | Unique identifier for the agent instance |
entrypointTag | string | Tag that identifies the specific entry point to use |
local | bool | Set to true for local development, false for remote |
host | string | Host address (e.g., “localhost”, “api.runagent.dev”) |
port | int | Port number for the connection |
map[string]interface{}
allowing flexible parameter passing: