Skip to main content

Crate simple_agents_ffi

Crate simple_agents_ffi 

Source
Expand description

C-compatible FFI bindings for SimpleAgents.

Structs§

SAClient

Functions§

sa_client_free
Free a client created by sa_client_new_from_env.
sa_client_new_from_env
Create a client from environment variables for a provider.
sa_complete
Execute a completion request with a single user prompt.
sa_last_error_message
Get the last error message for the current thread.
sa_string_free
Free a string returned by SimpleAgents FFI.