Skip to content

Commit

Permalink
[FIX] Fix for usage duplication when line-item type is selected (#1107)
Browse files Browse the repository at this point in the history
* Fix for usage duplication when line-item type is selected

* Fix
  • Loading branch information
Deepak-Kesavan authored Jan 31, 2025
1 parent 9137c32 commit 4f9904b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions prompt-service/src/unstract/prompt_service/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,13 +277,7 @@ def prompt_processor() -> Any:
metadata=metadata,
execution_source=execution_source,
)
metadata = query_usage_metadata(token=platform_key, metadata=metadata)
# TODO: Handle metrics for line-item extraction
response = {
PSKeys.METADATA: metadata,
PSKeys.OUTPUT: structured_output,
PSKeys.METRICS: metrics,
}
continue
except APIError as e:
app.logger.error(
Expand Down

0 comments on commit 4f9904b

Please sign in to comment.