-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- fields per logged cost:
- provider/model
- modelalias
- hostname
- user
- project (set during enable call)
- task (set during enable call)
- note (set during enable call)
- datetime
- cost
- input tokens
- output tokens
- api key env name, if provided
- enable:
- logging to local sqlite db file
- logging to API endpoint (later)
- `llms.enable_cost_logging(file=..., project=, task=, note=, url=...) # all have defaults except file and url
- also create
llms_wrapper_costs CMDfor exporting, importing, and simple summarizing of cost by user/project/model etc
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels