Skip to main content

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 .env file 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_DIR or calling solidflow.set_llm_call_records_dir(...) (records are appended to llm_call_records.jsonl in that folder).
  • To visualize, run python scripts/export_llm_calls.py then open scripts/llm_calls.html in a browser.

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

covenance_sdk-0.0.1-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

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

Hashes for covenance_sdk-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3ed319890511ac586f101ba4060720ea1bad355e2f328066fa56dc7ad03b7249
MD5 1b5dc5fbcf98b3a980c6e91b8457418c
BLAKE2b-256 6f6d93d6255ae6f8576d257b464d31462a3dd1295cfc7587d6483d22f439e401

See more details on using hashes here.

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

Hashes for covenance_sdk-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b727ea0c29a25bac2b6abada5be0e8879b4dc102417951e56a0ca093ab19982
MD5 ec2e605718560f70bc9efc8d2a2a1b23
BLAKE2b-256 914091e01580e1456c5f86b0d0a143a9df5b5928f587f7a989a8da6dc293b8cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page