ai-pipeline-core 0.2.3__py3-none-any.whl → 0.2.4__py3-none-any.whl

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.
@@ -118,7 +118,7 @@ from .prompt_manager import PromptManager
118
118
  from .settings import Settings
119
119
  from .tracing import TraceInfo, TraceLevel, set_trace_cost, trace
120
120
 
121
- __version__ = "0.2.3"
121
+ __version__ = "0.2.4"
122
122
 
123
123
  __all__ = [
124
124
  # Config/Settings
@@ -187,7 +187,7 @@ async def _generate_with_retry(
187
187
  **options.to_openai_completion_kwargs(),
188
188
  }
189
189
 
190
- if context:
190
+ if context and options.cache_ttl:
191
191
  completion_kwargs["prompt_cache_key"] = context.get_prompt_cache_key(options.system_prompt)
192
192
 
193
193
  for attempt in range(options.retries):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ai-pipeline-core
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: Core utilities for AI-powered processing pipelines using prefect
5
5
  Project-URL: Homepage, https://github.com/bbarwik/ai-pipeline-core
6
6
  Project-URL: Repository, https://github.com/bbarwik/ai-pipeline-core
@@ -1,4 +1,4 @@
1
- ai_pipeline_core/__init__.py,sha256=Zjw9zKJEEiDkKt8xyQbKnkwspyrGcmG2KVxcDAAkNik,5720
1
+ ai_pipeline_core/__init__.py,sha256=PFhuubQ9Tw2CIRMxMpX0JLkK9CWIjIzMe9aIttzFE5k,5720
2
2
  ai_pipeline_core/exceptions.py,sha256=vx-XLTw2fJSPs-vwtXVYtqoQUcOc0JeI7UmHqRqQYWU,1569
3
3
  ai_pipeline_core/pipeline.py,sha256=_00Qctqd7QibyXaetZv6KfyWoW9KZIRdndkYItNHWWI,28921
4
4
  ai_pipeline_core/prefect.py,sha256=91ZgLJHsDsRUW77CpNmkKxYs3RCJuucPM3pjKmNBeDg,2199
@@ -19,7 +19,7 @@ ai_pipeline_core/flow/config.py,sha256=3PCDph2n8dj-txqAvd9Wflbi_6lmfXFR9rUhM-szG
19
19
  ai_pipeline_core/flow/options.py,sha256=2rKR2GifhXcyw8avI_oiEDMLC2jm5Qzpw8z56pbxUMo,2285
20
20
  ai_pipeline_core/llm/__init__.py,sha256=3B_vtEzxrzidP1qOUNQ4RxlUmxZ2MBKQcUhQiTybM9g,661
21
21
  ai_pipeline_core/llm/ai_messages.py,sha256=dNhVsVVe_tL8IcSficsyEycW6Ibp3ICFMKj8Syb_h-U,13164
22
- ai_pipeline_core/llm/client.py,sha256=b-c7WTfFlokrZibsdbuj82L4V-lzff330gUH4RTybHo,22988
22
+ ai_pipeline_core/llm/client.py,sha256=QWpAKYBCkh_7Ui8XrEHW70TtXfLvbTQFocXnB8zQGOE,23010
23
23
  ai_pipeline_core/llm/model_options.py,sha256=cfgxCqhaYwxPt_mwACslsFt3XBSEufUkICU7x1Q5ZzQ,10905
24
24
  ai_pipeline_core/llm/model_response.py,sha256=iNSKobR3gzZ-CSC8hz8-grgL7jdd2IcnCSX0exdlg7o,15345
25
25
  ai_pipeline_core/llm/model_types.py,sha256=2J4Qsb1x21I4eo_VPeaMMOW8shOGPqzJuoGjTLcBFPM,2791
@@ -32,7 +32,7 @@ ai_pipeline_core/simple_runner/cli.py,sha256=yVyuxLY2RZvdNwmwT5LCe-km2nQJzWTPI0v
32
32
  ai_pipeline_core/simple_runner/simple_runner.py,sha256=f6cIodYkul-Apu1d63T6kR5DZpiaCWpphUcEPp5XjFo,9102
33
33
  ai_pipeline_core/storage/__init__.py,sha256=tcIkjJ3zPBLCyetwiJDewBvS2sbRJrDlBh3gEsQm08E,184
34
34
  ai_pipeline_core/storage/storage.py,sha256=ClMr419Y-eU2RuOjZYd51dC0stWQk28Vb56PvQaoUwc,20007
35
- ai_pipeline_core-0.2.3.dist-info/METADATA,sha256=83uM7yjSTdk1ssloTwf-uiShUTWps7c2FC0ESsy9VSo,15159
36
- ai_pipeline_core-0.2.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
37
- ai_pipeline_core-0.2.3.dist-info/licenses/LICENSE,sha256=kKj8mfbdWwkyG3U6n7ztB3bAZlEwShTkAsvaY657i3I,1074
38
- ai_pipeline_core-0.2.3.dist-info/RECORD,,
35
+ ai_pipeline_core-0.2.4.dist-info/METADATA,sha256=ltt-6FE3huvKnVDWt-LA2oh2tRcaRHTdU_xI9kloqQw,15159
36
+ ai_pipeline_core-0.2.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
37
+ ai_pipeline_core-0.2.4.dist-info/licenses/LICENSE,sha256=kKj8mfbdWwkyG3U6n7ztB3bAZlEwShTkAsvaY657i3I,1074
38
+ ai_pipeline_core-0.2.4.dist-info/RECORD,,