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_ai-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_ai-0.0.1-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file covenance_ai-0.0.1.tar.gz.

File metadata

  • Download URL: covenance_ai-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_ai-0.0.1.tar.gz
Algorithm Hash digest
SHA256 554cbe0f8a33c04cf75d57d247402ba324419a4ee65664001045f100b8441ef9
MD5 e16170a00b5f11ab699d85c7258427db
BLAKE2b-256 61134a607c5539f9c7bcb338770bec1b16b3c85eda11c79f672d24d106320df9

See more details on using hashes here.

File details

Details for the file covenance_ai-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: covenance_ai-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_ai-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4208a7084cee4a0cbad11637f32bd1f7ed5d8eed0f4102c4bec8c06ca79f40c8
MD5 cb6872b93fcfe5c893d37fcd14778a00
BLAKE2b-256 77b556dc7b1192031d68b90371bf94509466e5df5025b681981737a8c1f34bd2

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