cost-katana 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,11 +68,11 @@ console.log(`Total cost: $${session.totalCost}`);
|
|
|
68
68
|
- ✅ Production-ready code with full error handling
|
|
69
69
|
|
|
70
70
|
**Popular examples:**
|
|
71
|
-
- [Cost Tracking](https://github.com/Hypothesize-Tech/costkatana-examples/tree/
|
|
72
|
-
- [Webhooks](https://github.com/Hypothesize-Tech/costkatana-examples/tree/
|
|
73
|
-
- [Workflows](https://github.com/Hypothesize-Tech/costkatana-examples/tree/
|
|
74
|
-
- [Semantic Caching](https://github.com/Hypothesize-Tech/costkatana-examples/tree/
|
|
75
|
-
- [OpenTelemetry](https://github.com/Hypothesize-Tech/costkatana-examples/tree/
|
|
71
|
+
- [Cost Tracking](https://github.com/Hypothesize-Tech/costkatana-examples/tree/master/1-cost-tracking) - Track costs across all providers
|
|
72
|
+
- [Webhooks](https://github.com/Hypothesize-Tech/costkatana-examples/tree/master/10-webhooks) - Real-time notifications
|
|
73
|
+
- [Workflows](https://github.com/Hypothesize-Tech/costkatana-examples/tree/master/13-workflows) - Multi-step AI orchestration
|
|
74
|
+
- [Semantic Caching](https://github.com/Hypothesize-Tech/costkatana-examples/tree/master/14-cache) - 30-40% cost reduction
|
|
75
|
+
- [OpenTelemetry](https://github.com/Hypothesize-Tech/costkatana-examples/tree/master/11-observability) - Distributed tracing
|
|
76
76
|
|
|
77
77
|
---
|
|
78
78
|
|
|
@@ -556,7 +556,7 @@ const response = await ai('gpt-4', 'Hello');
|
|
|
556
556
|
- **Documentation**: [docs.costkatana.com](https://docs.costkatana.com)
|
|
557
557
|
- **GitHub**: [github.com/cost-katana](https://github.com/cost-katana)
|
|
558
558
|
- **Email**: support@costkatana.com
|
|
559
|
-
- **Discord**: [discord.gg/costkatana](https://discord.gg/
|
|
559
|
+
- **Discord**: [discord.gg/costkatana](https://discord.gg/D8nDArmKbY)
|
|
560
560
|
|
|
561
561
|
## License
|
|
562
562
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cost-katana",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "The simplest way to use AI with automatic cost tracking and optimization. Works with OpenAI, Anthropic, Google, AWS Bedrock, and more.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|