Online LLM clients for OpenAI, Google Gemini, Mistral, Anthropic Claude, and OpenRouter (Covenance reservation)
Project description
solidflow
Unified, structured LLM calls for OpenAI, Gemini, Mistral, Anthropic, and OpenRouter.
API keys
Set environment variables:
- OPENAI_API_KEY
- GEMINI_API_KEY (or GOOGLE_API_KEY)
- MISTRAL_API_KEY
- ANTHROPIC_API_KEY
- OPENROUTER_API_KEY
If a
.envfile is present in the working directory, it is loaded automatically without overriding existing environment variables.
Call logging
- LLM call timing records are always captured; access in-process via
solidflow.get_llm_call_records(). - Persist records by setting
SOLIDFLOW_LLM_CALL_RECORDS_DIRor callingsolidflow.set_llm_call_records_dir(...)(records are appended tollm_call_records.jsonlin that folder). - To visualize, run
python scripts/export_llm_calls.pythen openscripts/llm_calls.htmlin a browser.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
covenance_sdk-0.0.1.tar.gz
(22.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file covenance_sdk-0.0.1.tar.gz.
File metadata
- Download URL: covenance_sdk-0.0.1.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ed319890511ac586f101ba4060720ea1bad355e2f328066fa56dc7ad03b7249
|
|
| MD5 |
1b5dc5fbcf98b3a980c6e91b8457418c
|
|
| BLAKE2b-256 |
6f6d93d6255ae6f8576d257b464d31462a3dd1295cfc7587d6483d22f439e401
|
File details
Details for the file covenance_sdk-0.0.1-py3-none-any.whl.
File metadata
- Download URL: covenance_sdk-0.0.1-py3-none-any.whl
- Upload date:
- Size: 28.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b727ea0c29a25bac2b6abada5be0e8879b4dc102417951e56a0ca093ab19982
|
|
| MD5 |
ec2e605718560f70bc9efc8d2a2a1b23
|
|
| BLAKE2b-256 |
914091e01580e1456c5f86b0d0a143a9df5b5928f587f7a989a8da6dc293b8cc
|