fastworkflow 2.17.22__py3-none-any.whl → 2.17.25__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.
@@ -1,7 +1,7 @@
1
1
  from enum import Enum
2
2
  from queue import Empty, Queue
3
3
  from threading import Thread, Lock
4
- from typing import ClassVar, Optional
4
+ from typing import Optional
5
5
  from collections import deque
6
6
  import json
7
7
  import contextlib
@@ -9,9 +9,9 @@ import uuid
9
9
  from pathlib import Path
10
10
  import os
11
11
  import time
12
- from datetime import datetime
13
12
 
14
13
  import dspy
14
+ from dspy.clients import litellm
15
15
 
16
16
  import fastworkflow
17
17
  from fastworkflow.utils.logging import logger
@@ -178,6 +178,8 @@ class ChatSession:
178
178
  if startup_command and startup_action:
179
179
  raise ValueError("Cannot provide both startup_command and startup_action")
180
180
 
181
+ litellm.drop_params = True # See https://docs.litellm.ai/docs/completion/drop_params
182
+
181
183
  # Create the workflow
182
184
  workflow = fastworkflow.Workflow.create(
183
185
  workflow_folderpath,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastworkflow
3
- Version: 2.17.22
3
+ Version: 2.17.25
4
4
  Summary: A framework for rapidly building large-scale, deterministic, interactive workflows with a fault-tolerant, conversational UX
5
5
  License: Apache-2.0
6
6
  Keywords: fastworkflow,ai,workflow,llm,openai
@@ -12,14 +12,16 @@ Classifier: Programming Language :: Python :: 3
12
12
  Classifier: Programming Language :: Python :: 3.11
13
13
  Classifier: Programming Language :: Python :: 3.12
14
14
  Provides-Extra: fastapi
15
+ Provides-Extra: training
15
16
  Requires-Dist: colorama (>=0.4.6,<0.5.0)
17
+ Requires-Dist: datasets (>=4.0.0,<5.0.0) ; extra == "training"
16
18
  Requires-Dist: dspy (>=3.0.1,<4.0.0)
17
- Requires-Dist: fastapi (>=0.115.5,<0.116.0) ; extra == "fastapi"
19
+ Requires-Dist: fastapi (>=0.120.1) ; extra == "fastapi"
18
20
  Requires-Dist: fastapi-mcp (>=0.4.0,<0.5.0) ; extra == "fastapi"
19
21
  Requires-Dist: libcst (>=1.8.2,<2.0.0)
20
- Requires-Dist: litellm[proxy] (>=1.75.8,<2.0.0)
22
+ Requires-Dist: litellm[proxy] (>=1.80.5,<2.0.0)
21
23
  Requires-Dist: mmh3 (>=5.1.0,<6.0.0)
22
- Requires-Dist: openai (>=1.99.5,<1.100.0)
24
+ Requires-Dist: openai (>=2.8.0)
23
25
  Requires-Dist: prompt_toolkit (>=3.0.43,<4.0.0)
24
26
  Requires-Dist: pydantic (>=2.9.2,<3.0.0)
25
27
  Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
@@ -29,7 +31,7 @@ Requires-Dist: scikit-learn (>=1.6.1,<2.0.0)
29
31
  Requires-Dist: speedict (>=0.3.12,<0.4.0)
30
32
  Requires-Dist: torch (>=2.7.1,<3.0.0)
31
33
  Requires-Dist: transformers (>=4.48.2,<5.0.0)
32
- Requires-Dist: uvicorn (>=0.29.0,<0.30.0) ; extra == "fastapi"
34
+ Requires-Dist: uvicorn (>=0.31.1,<0.32.0) ; extra == "fastapi"
33
35
  Project-URL: homepage, https://github.com/radiantlogicinc/fastworkflow
34
36
  Project-URL: repository, https://github.com/radiantlogicinc/fastworkflow
35
37
  Description-Content-Type: text/markdown
@@ -35,7 +35,7 @@ fastworkflow/build/navigator_stub_generator.py,sha256=_DSvHC6r1xWQiFHtUgPhI51nQf
35
35
  fastworkflow/build/pydantic_model_generator.py,sha256=oNyoANyUWBpHG-fE3tGL911RNvDzQXjxAm0ssvuXUH4,1854
36
36
  fastworkflow/build/utterance_generator.py,sha256=UrtkF0wyAZ1hiFitHX0g8w7Wh-D0leLCrP1aUACSfHo,299
37
37
  fastworkflow/cache_matching.py,sha256=OoB--1tO6-O4BKCuCrUbB0CkUr76J62K4VAf6MShi-w,7984
38
- fastworkflow/chat_session.py,sha256=dvRH81Wmj0YCleZaCeWfx9zyqucYCOMJcldhvSLbFeY,35448
38
+ fastworkflow/chat_session.py,sha256=2y4pcQ8e7M6TftqFC0me1HoT_WABXkMf5MqYhJDqSig,35536
39
39
  fastworkflow/cli.py,sha256=Jz8pbs--pgaGU_7H8hjt_ayHbGvvB2HxmJaXamTE9OY,23507
40
40
  fastworkflow/command_context_model.py,sha256=bQadDB_IH2lc0br46IT07Iej_j2KrAMderiVKqU7gno,15914
41
41
  fastworkflow/command_directory.py,sha256=aJ6UQCwevfF11KbcQB2Qz6mQ7Kj91pZtvHmQY6JFnao,29030
@@ -177,8 +177,8 @@ fastworkflow/utils/startup_progress.py,sha256=9icSdnpFAxzIq0sUliGpNaH0Efvrt5lDtG
177
177
  fastworkflow/workflow.py,sha256=37gn7e3ct-gdGw43zS6Ab_ADoJJBO4eJW2PywfUpjEg,18825
178
178
  fastworkflow/workflow_agent.py,sha256=vdGoeiG7xIsG7rhqjdIwveCkPDvs_bb3dE-Pw-unYMA,18848
179
179
  fastworkflow/workflow_inheritance_model.py,sha256=Pp-qSrQISgPfPjJVUfW84pc7HLmL2evuq0UVIYR51K0,7974
180
- fastworkflow-2.17.22.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
181
- fastworkflow-2.17.22.dist-info/METADATA,sha256=cHz93FV0j-q1D1OABbv8BN6ASjn9LuXQC3Hc78ij57c,30915
182
- fastworkflow-2.17.22.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
183
- fastworkflow-2.17.22.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
184
- fastworkflow-2.17.22.dist-info/RECORD,,
180
+ fastworkflow-2.17.25.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
181
+ fastworkflow-2.17.25.dist-info/METADATA,sha256=VSj04l_4EOQ6_kwjGhBsPdiy7elZmaT234SA5DJ1hHM,30984
182
+ fastworkflow-2.17.25.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
183
+ fastworkflow-2.17.25.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
184
+ fastworkflow-2.17.25.dist-info/RECORD,,