Skip to content

Commit 5c80a3e

Browse files
author
stlc-bot
committed
Optimize agentic Gemini prompt caching (#22627)
Stainless-Generated-From: 988a9af6987c084b8e54ff50848b5507d5c1a113
1 parent 68060bf commit 5c80a3e

2 files changed

Lines changed: 34 additions & 34 deletions

File tree

‎llama-cloud-core/src/main/kotlin/ai/llamaindex/llamacloud/models/configurations/ParseV2Parameters.kt‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ private constructor(
143143
* Current `latest` by tier:
144144
* - `fast`: `2026-06-15`
145145
* - `cost_effective`: `2026-06-26`
146-
* - `agentic`: `2026-07-15`
146+
* - `agentic`: `2026-07-23`
147147
* - `agentic_plus`: `2026-07-08`
148148
*
149149
* Full list: `GET /api/v2/parse/versions`.
@@ -481,7 +481,7 @@ private constructor(
481481
* Current `latest` by tier:
482482
* - `fast`: `2026-06-15`
483483
* - `cost_effective`: `2026-06-26`
484-
* - `agentic`: `2026-07-15`
484+
* - `agentic`: `2026-07-23`
485485
* - `agentic_plus`: `2026-07-08`
486486
*
487487
* Full list: `GET /api/v2/parse/versions`.
@@ -1012,7 +1012,7 @@ private constructor(
10121012
* Current `latest` by tier:
10131013
* - `fast`: `2026-06-15`
10141014
* - `cost_effective`: `2026-06-26`
1015-
* - `agentic`: `2026-07-15`
1015+
* - `agentic`: `2026-07-23`
10161016
* - `agentic_plus`: `2026-07-08`
10171017
*
10181018
* Full list: `GET /api/v2/parse/versions`.
@@ -1033,7 +1033,7 @@ private constructor(
10331033

10341034
@JvmField val LATEST = of("latest")
10351035

1036-
@JvmField val _2026_07_15 = of("2026-07-15")
1036+
@JvmField val _2026_07_23 = of("2026-07-23")
10371037

10381038
@JvmField val _2026_07_08 = of("2026-07-08")
10391039

@@ -1047,7 +1047,7 @@ private constructor(
10471047
/** An enum containing [Version]'s known values. */
10481048
enum class Known {
10491049
LATEST,
1050-
_2026_07_15,
1050+
_2026_07_23,
10511051
_2026_07_08,
10521052
_2026_06_26,
10531053
_2026_06_15,
@@ -1064,7 +1064,7 @@ private constructor(
10641064
*/
10651065
enum class Value {
10661066
LATEST,
1067-
_2026_07_15,
1067+
_2026_07_23,
10681068
_2026_07_08,
10691069
_2026_06_26,
10701070
_2026_06_15,
@@ -1082,7 +1082,7 @@ private constructor(
10821082
fun value(): Value =
10831083
when (this) {
10841084
LATEST -> Value.LATEST
1085-
_2026_07_15 -> Value._2026_07_15
1085+
_2026_07_23 -> Value._2026_07_23
10861086
_2026_07_08 -> Value._2026_07_08
10871087
_2026_06_26 -> Value._2026_06_26
10881088
_2026_06_15 -> Value._2026_06_15
@@ -1101,7 +1101,7 @@ private constructor(
11011101
fun known(): Known =
11021102
when (this) {
11031103
LATEST -> Known.LATEST
1104-
_2026_07_15 -> Known._2026_07_15
1104+
_2026_07_23 -> Known._2026_07_23
11051105
_2026_07_08 -> Known._2026_07_08
11061106
_2026_06_26 -> Known._2026_06_26
11071107
_2026_06_15 -> Known._2026_06_15
@@ -9558,7 +9558,7 @@ private constructor(
95589558
* Current `latest` by tier:
95599559
* - `fast`: `2026-06-15`
95609560
* - `cost_effective`: `2026-06-26`
9561-
* - `agentic`: `2026-07-15`
9561+
* - `agentic`: `2026-07-23`
95629562
* - `agentic_plus`: `2026-07-08`
95639563
*
95649564
* Full list: `GET /api/v2/parse/versions`.
@@ -10062,7 +10062,7 @@ private constructor(
1006210062
* Current `latest` by tier:
1006310063
* - `fast`: `2026-06-15`
1006410064
* - `cost_effective`: `2026-06-26`
10065-
* - `agentic`: `2026-07-15`
10065+
* - `agentic`: `2026-07-23`
1006610066
* - `agentic_plus`: `2026-07-08`
1006710067
*
1006810068
* Full list: `GET /api/v2/parse/versions`.
@@ -11676,7 +11676,7 @@ private constructor(
1167611676
* Current `latest` by tier:
1167711677
* - `fast`: `2026-06-15`
1167811678
* - `cost_effective`: `2026-06-26`
11679-
* - `agentic`: `2026-07-15`
11679+
* - `agentic`: `2026-07-23`
1168011680
* - `agentic_plus`: `2026-07-08`
1168111681
*
1168211682
* Full list: `GET /api/v2/parse/versions`.
@@ -11700,7 +11700,7 @@ private constructor(
1170011700

1170111701
@JvmField val LATEST = of("latest")
1170211702

11703-
@JvmField val _2026_07_15 = of("2026-07-15")
11703+
@JvmField val _2026_07_23 = of("2026-07-23")
1170411704

1170511705
@JvmField val _2026_07_08 = of("2026-07-08")
1170611706

@@ -11714,7 +11714,7 @@ private constructor(
1171411714
/** An enum containing [Version]'s known values. */
1171511715
enum class Known {
1171611716
LATEST,
11717-
_2026_07_15,
11717+
_2026_07_23,
1171811718
_2026_07_08,
1171911719
_2026_06_26,
1172011720
_2026_06_15,
@@ -11731,7 +11731,7 @@ private constructor(
1173111731
*/
1173211732
enum class Value {
1173311733
LATEST,
11734-
_2026_07_15,
11734+
_2026_07_23,
1173511735
_2026_07_08,
1173611736
_2026_06_26,
1173711737
_2026_06_15,
@@ -11752,7 +11752,7 @@ private constructor(
1175211752
fun value(): Value =
1175311753
when (this) {
1175411754
LATEST -> Value.LATEST
11755-
_2026_07_15 -> Value._2026_07_15
11755+
_2026_07_23 -> Value._2026_07_23
1175611756
_2026_07_08 -> Value._2026_07_08
1175711757
_2026_06_26 -> Value._2026_06_26
1175811758
_2026_06_15 -> Value._2026_06_15
@@ -11771,7 +11771,7 @@ private constructor(
1177111771
fun known(): Known =
1177211772
when (this) {
1177311773
LATEST -> Known.LATEST
11774-
_2026_07_15 -> Known._2026_07_15
11774+
_2026_07_23 -> Known._2026_07_23
1177511775
_2026_07_08 -> Known._2026_07_08
1177611776
_2026_06_26 -> Known._2026_06_26
1177711777
_2026_06_15 -> Known._2026_06_15

‎llama-cloud-core/src/main/kotlin/ai/llamaindex/llamacloud/models/parsing/ParsingCreateParams.kt‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ private constructor(
7777
* Current `latest` by tier:
7878
* - `fast`: `2026-06-15`
7979
* - `cost_effective`: `2026-06-26`
80-
* - `agentic`: `2026-07-15`
80+
* - `agentic`: `2026-07-23`
8181
* - `agentic_plus`: `2026-07-08`
8282
*
8383
* Full list: `GET /api/v2/parse/versions`.
@@ -465,7 +465,7 @@ private constructor(
465465
* Current `latest` by tier:
466466
* - `fast`: `2026-06-15`
467467
* - `cost_effective`: `2026-06-26`
468-
* - `agentic`: `2026-07-15`
468+
* - `agentic`: `2026-07-23`
469469
* - `agentic_plus`: `2026-07-08`
470470
*
471471
* Full list: `GET /api/v2/parse/versions`.
@@ -1082,7 +1082,7 @@ private constructor(
10821082
* Current `latest` by tier:
10831083
* - `fast`: `2026-06-15`
10841084
* - `cost_effective`: `2026-06-26`
1085-
* - `agentic`: `2026-07-15`
1085+
* - `agentic`: `2026-07-23`
10861086
* - `agentic_plus`: `2026-07-08`
10871087
*
10881088
* Full list: `GET /api/v2/parse/versions`.
@@ -1516,7 +1516,7 @@ private constructor(
15161516
* Current `latest` by tier:
15171517
* - `fast`: `2026-06-15`
15181518
* - `cost_effective`: `2026-06-26`
1519-
* - `agentic`: `2026-07-15`
1519+
* - `agentic`: `2026-07-23`
15201520
* - `agentic_plus`: `2026-07-08`
15211521
*
15221522
* Full list: `GET /api/v2/parse/versions`.
@@ -2217,7 +2217,7 @@ private constructor(
22172217
* Current `latest` by tier:
22182218
* - `fast`: `2026-06-15`
22192219
* - `cost_effective`: `2026-06-26`
2220-
* - `agentic`: `2026-07-15`
2220+
* - `agentic`: `2026-07-23`
22212221
* - `agentic_plus`: `2026-07-08`
22222222
*
22232223
* Full list: `GET /api/v2/parse/versions`.
@@ -2238,7 +2238,7 @@ private constructor(
22382238

22392239
@JvmField val LATEST = of("latest")
22402240

2241-
@JvmField val _2026_07_15 = of("2026-07-15")
2241+
@JvmField val _2026_07_23 = of("2026-07-23")
22422242

22432243
@JvmField val _2026_07_08 = of("2026-07-08")
22442244

@@ -2252,7 +2252,7 @@ private constructor(
22522252
/** An enum containing [Version]'s known values. */
22532253
enum class Known {
22542254
LATEST,
2255-
_2026_07_15,
2255+
_2026_07_23,
22562256
_2026_07_08,
22572257
_2026_06_26,
22582258
_2026_06_15,
@@ -2269,7 +2269,7 @@ private constructor(
22692269
*/
22702270
enum class Value {
22712271
LATEST,
2272-
_2026_07_15,
2272+
_2026_07_23,
22732273
_2026_07_08,
22742274
_2026_06_26,
22752275
_2026_06_15,
@@ -2287,7 +2287,7 @@ private constructor(
22872287
fun value(): Value =
22882288
when (this) {
22892289
LATEST -> Value.LATEST
2290-
_2026_07_15 -> Value._2026_07_15
2290+
_2026_07_23 -> Value._2026_07_23
22912291
_2026_07_08 -> Value._2026_07_08
22922292
_2026_06_26 -> Value._2026_06_26
22932293
_2026_06_15 -> Value._2026_06_15
@@ -2306,7 +2306,7 @@ private constructor(
23062306
fun known(): Known =
23072307
when (this) {
23082308
LATEST -> Known.LATEST
2309-
_2026_07_15 -> Known._2026_07_15
2309+
_2026_07_23 -> Known._2026_07_23
23102310
_2026_07_08 -> Known._2026_07_08
23112311
_2026_06_26 -> Known._2026_06_26
23122312
_2026_06_15 -> Known._2026_06_15
@@ -10763,7 +10763,7 @@ private constructor(
1076310763
* Current `latest` by tier:
1076410764
* - `fast`: `2026-06-15`
1076510765
* - `cost_effective`: `2026-06-26`
10766-
* - `agentic`: `2026-07-15`
10766+
* - `agentic`: `2026-07-23`
1076710767
* - `agentic_plus`: `2026-07-08`
1076810768
*
1076910769
* Full list: `GET /api/v2/parse/versions`.
@@ -11267,7 +11267,7 @@ private constructor(
1126711267
* Current `latest` by tier:
1126811268
* - `fast`: `2026-06-15`
1126911269
* - `cost_effective`: `2026-06-26`
11270-
* - `agentic`: `2026-07-15`
11270+
* - `agentic`: `2026-07-23`
1127111271
* - `agentic_plus`: `2026-07-08`
1127211272
*
1127311273
* Full list: `GET /api/v2/parse/versions`.
@@ -12881,7 +12881,7 @@ private constructor(
1288112881
* Current `latest` by tier:
1288212882
* - `fast`: `2026-06-15`
1288312883
* - `cost_effective`: `2026-06-26`
12884-
* - `agentic`: `2026-07-15`
12884+
* - `agentic`: `2026-07-23`
1288512885
* - `agentic_plus`: `2026-07-08`
1288612886
*
1288712887
* Full list: `GET /api/v2/parse/versions`.
@@ -12905,7 +12905,7 @@ private constructor(
1290512905

1290612906
@JvmField val LATEST = of("latest")
1290712907

12908-
@JvmField val _2026_07_15 = of("2026-07-15")
12908+
@JvmField val _2026_07_23 = of("2026-07-23")
1290912909

1291012910
@JvmField val _2026_07_08 = of("2026-07-08")
1291112911

@@ -12919,7 +12919,7 @@ private constructor(
1291912919
/** An enum containing [Version]'s known values. */
1292012920
enum class Known {
1292112921
LATEST,
12922-
_2026_07_15,
12922+
_2026_07_23,
1292312923
_2026_07_08,
1292412924
_2026_06_26,
1292512925
_2026_06_15,
@@ -12936,7 +12936,7 @@ private constructor(
1293612936
*/
1293712937
enum class Value {
1293812938
LATEST,
12939-
_2026_07_15,
12939+
_2026_07_23,
1294012940
_2026_07_08,
1294112941
_2026_06_26,
1294212942
_2026_06_15,
@@ -12957,7 +12957,7 @@ private constructor(
1295712957
fun value(): Value =
1295812958
when (this) {
1295912959
LATEST -> Value.LATEST
12960-
_2026_07_15 -> Value._2026_07_15
12960+
_2026_07_23 -> Value._2026_07_23
1296112961
_2026_07_08 -> Value._2026_07_08
1296212962
_2026_06_26 -> Value._2026_06_26
1296312963
_2026_06_15 -> Value._2026_06_15
@@ -12976,7 +12976,7 @@ private constructor(
1297612976
fun known(): Known =
1297712977
when (this) {
1297812978
LATEST -> Known.LATEST
12979-
_2026_07_15 -> Known._2026_07_15
12979+
_2026_07_23 -> Known._2026_07_23
1298012980
_2026_07_08 -> Known._2026_07_08
1298112981
_2026_06_26 -> Known._2026_06_26
1298212982
_2026_06_15 -> Known._2026_06_15

0 commit comments

Comments
 (0)