openrouter_client
A simple and incomplete client library for OpenRouter.
gleam add openrouter_client
import openrouter_client
pub fn main() {
let client = openrouter_client.new(api_key, model, system_prompt)
let assert Ok(resp) = client.send("Tell me something about the Gleam programming language")
}
Further documentation can be found at https://hexdocs.pm/openrouter_client.
Development
gleam run # Run the project
gleam test # Run the tests