Update
This commit is contained in:
@@ -94,6 +94,7 @@ class VisionAugmenter:
|
||||
owner: tuple = ("unknown", "unknown"),
|
||||
pricing=None,
|
||||
context_map=None,
|
||||
app_reference: str = "default",
|
||||
):
|
||||
self.vision_url = vision_url
|
||||
self.vision_model = vision_model
|
||||
@@ -105,6 +106,7 @@ class VisionAugmenter:
|
||||
self.owner = owner
|
||||
self.pricing = pricing
|
||||
self.context_map = context_map or {}
|
||||
self.app_reference = app_reference
|
||||
self.calls = 0
|
||||
self.cost_usd = 0.0
|
||||
|
||||
@@ -126,6 +128,7 @@ class VisionAugmenter:
|
||||
"success": success,
|
||||
"error_category": category,
|
||||
"usage": usage,
|
||||
"app_reference": self.app_reference,
|
||||
},
|
||||
self.pricing,
|
||||
self.context_map,
|
||||
|
||||
Reference in New Issue
Block a user