@databutton/firebase-types 1.85.26 → 1.85.27
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.
|
@@ -1989,11 +1989,15 @@ export interface AiUsageRecord {
|
|
|
1989
1989
|
* Number of iterations in the streak
|
|
1990
1990
|
*/
|
|
1991
1991
|
iterations: number;
|
|
1992
|
+
/**
|
|
1993
|
+
* Reason the streak stopped
|
|
1994
|
+
*/
|
|
1995
|
+
stopReason: "done" | "cancelled" | "error";
|
|
1992
1996
|
};
|
|
1993
1997
|
agent: {
|
|
1994
1998
|
id: string;
|
|
1995
1999
|
model: {
|
|
1996
|
-
provider:
|
|
2000
|
+
provider: string;
|
|
1997
2001
|
identifier: string;
|
|
1998
2002
|
};
|
|
1999
2003
|
contextWindow: {
|
|
@@ -2007,7 +2011,7 @@ export interface AiUsageRecordEntry {
|
|
|
2007
2011
|
costUsd: number;
|
|
2008
2012
|
toolCalls: string[];
|
|
2009
2013
|
type: "main-agent" | "sub-agent";
|
|
2010
|
-
provider:
|
|
2014
|
+
provider: string;
|
|
2011
2015
|
identifier: string;
|
|
2012
2016
|
finish_reason: "stop" | "length" | "tool_calls" | "content_filter" | "function_call" | "cancelled_by_user";
|
|
2013
2017
|
/**
|