abi

connectors

External service connectors (OpenAI, Anthropic, Ollama, etc.).

Source: src/services/connectors/mod.zig

Availability: Always enabled


API

pub fn init(_: std.mem.Allocator) !void

fn source

Initialize the connectors subsystem (idempotent; no-op if already initialized).

pub fn deinit() void

fn source

Tear down the connectors subsystem; safe to call multiple times.

pub fn isEnabled() bool

fn source

Returns true; connectors are always available when this module is compiled in.

pub fn isInitialized() bool

fn source

Returns true after init() has been called.

pub fn getEnvOwned(allocator: std.mem.Allocator, name: []const u8) !?[]u8

fn source

Read environment variable by name; returns owned slice or null if unset. Caller must free.


Generated automatically by zig build gendocs

Zig Skill

Use the $zig Codex skill for ABI Zig 0.16-dev syntax updates, modular build graph guidance, and targeted validation workflows.