mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
add some otel initialization, pointing at honeycomb + a function to wrap other functions with spans. use that function to wrap `callAnthropic` and add some context (number of messages sent, token usage, along with some metadata should we ever support other providers.) The honeycomb api key/dataset are to be passed via env vars `HONEYCOMB_API_KEY` and `HONEYCOMB_DATASET` respectively. |
||
---|---|---|
.. | ||
components | ||
lib | ||
routes | ||
styles | ||
types | ||
utils | ||
entry.client.tsx | ||
entry.server.tsx | ||
root.tsx | ||
vite-env.d.ts |