truefoundry 0.2.0rc4__py3-none-any.whl → 0.2.0rc5__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.

Potentially problematic release.


This version of truefoundry might be problematic. Click here for more details.

@@ -209,9 +209,22 @@ def cli(project_root_path: str, deploy: bool):
209
209
  console.print(
210
210
  "[bold magenta]TFY-Agent[/]: A tool for building and deploying [magenta]Jobs/Services[/] to the Truefoundry platform."
211
211
  )
212
- console.print(
213
- "[bold reverse red]DISCLAIMER:[/] The contents of the project will be sent to OpenAI."
214
- )
212
+ if AUTODEPLOY_OPENAI_BASE_URL is not None and AUTODEPLOY_OPENAI_API_KEY is not None:
213
+ console.print(
214
+ "[bold green]OpenAI credentials found in environment variables.[/]"
215
+ )
216
+ console.print(
217
+ "[bold reverse red]DISCLAIMER:[/] The contents of your project will be sent to OpenAI.",
218
+ "This operation will use tokens from your provided OpenAI account and may incur costs.",
219
+ )
220
+ else:
221
+ console.print(
222
+ "[bold reverse red]DISCLAIMER:[/] The contents of the project will be sent to OpenAI."
223
+ )
224
+ console.print(
225
+ "[dim]To use your own LLM, set the environment variables [dim italic green]AUTODEPLOY_OPENAI_BASE_URL[/],[/]",
226
+ "[dim][dim italic green]AUTODEPLOY_OPENAI_API_KEY[/], and [dim italic green]AUTODEPLOY_MODEL_NAME[/] for URL, API key, and LLM model name respectively.[/]",
227
+ )
215
228
  console.print(
216
229
  "[bold cyan]Note:[/] All changes will be committed to a new branch. Please ensure you have a repository."
217
230
  )
@@ -1 +1 @@
1
- from servicefoundry import *
1
+ from servicefoundry import * # noqa: F403
@@ -1 +1 @@
1
- from servicefoundry.langchain import *
1
+ from servicefoundry.langchain import * # noqa: F403
@@ -1,4 +1,6 @@
1
1
  try:
2
- from mlfoundry import *
2
+ from mlfoundry import * # noqa: F403
3
3
  except ImportError:
4
- print("To use metadata/artifact logging features, please run 'pip install truefoundry[ml]'.")
4
+ print(
5
+ "To use metadata/artifact logging features, please run 'pip install truefoundry[ml]'."
6
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: truefoundry
3
- Version: 0.2.0rc4
3
+ Version: 0.2.0rc5
4
4
  Summary: Truefoundry CLI
5
5
  Author: Abhishek Choudhary
6
6
  Author-email: abhichoudhary06@gmail.com
@@ -5,7 +5,7 @@ truefoundry/autodeploy/agents/base.py,sha256=woCry229x7WX0IZmBopW_e_NB76aCLQRLXZ
5
5
  truefoundry/autodeploy/agents/developer.py,sha256=u1BfjaMDX6Ad32vWYOEFZPWFK33ux0Ro8JztrRAFviY,4126
6
6
  truefoundry/autodeploy/agents/project_identifier.py,sha256=m8xg7U5D2zSLEKp5QyPZRldw4VPuTFM8omPCRC0Ri-w,4428
7
7
  truefoundry/autodeploy/agents/tester.py,sha256=iSnWHubzHPO36Je2nYQYsdxL64xVQ3DxvEnakEJAW1Q,2348
8
- truefoundry/autodeploy/cli.py,sha256=nTMnmnFhKYOqGM6qSB2Rds_skfn68ZTKyz1LG2Sm5xI,10929
8
+ truefoundry/autodeploy/cli.py,sha256=nr5FmwFbE5l0dKhsMr2BSkQ0vGRqGb92PfMIDogXmH0,11713
9
9
  truefoundry/autodeploy/constants.py,sha256=4ZHn08CCs_6ti-8Y6zaM_5IhI9mrB-1eDALhbn36oIw,435
10
10
  truefoundry/autodeploy/exception.py,sha256=BHqbkN-RdEsrfqPHQhWwSHiWnwQ6eaBc7PGGEXjJ3RY,54
11
11
  truefoundry/autodeploy/logger.py,sha256=tkV2UKcOTFl5nz0cn4eRbzxF-2CZd8b7MK9vnhaflYw,325
@@ -24,10 +24,10 @@ truefoundry/autodeploy/utils/diff.py,sha256=Ef8Y-VffDKel_-q-GxRam6gqiv8qTLMcqVg6
24
24
  truefoundry/autodeploy/utils/pydantic_compat.py,sha256=hEAUy5kLjhPdzw7yGZ2iXGMXbbMVXVlGzIofmyHafXQ,412
25
25
  truefoundry/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  truefoundry/cli/__main__.py,sha256=gSKVAG41klzNpe0IrURtRlR7zDo430tX0nEqR02L2SU,1585
27
- truefoundry/deploy/__init__.py,sha256=rY-AcjgSmu0r072rdUNpRkMmDFC7hH9drF5_pIN5jnw,29
28
- truefoundry/langchain/__init__.py,sha256=R1h2DkLLsVLPh3xVVzU2H_kpN4LNgzx3mPCcGVr2u5g,39
29
- truefoundry/ml/__init__.py,sha256=SJiI5QimXJETfME2x0iXz8gPn6C22YNiLiEdHIV1g7c,151
30
- truefoundry-0.2.0rc4.dist-info/METADATA,sha256=yBcQM45dYziSC46pHzgC7zsFTYIsaC8iO1qCqBu3AGo,1838
31
- truefoundry-0.2.0rc4.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
- truefoundry-0.2.0rc4.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
33
- truefoundry-0.2.0rc4.dist-info/RECORD,,
27
+ truefoundry/deploy/__init__.py,sha256=wDQq3y-t9zOEOVA61t15fRpAVQSpBtiWTyW5hVn1iz4,43
28
+ truefoundry/langchain/__init__.py,sha256=kQrM0qr2EoB-EFaPkVVVcmSBSJ8KsQzv0nx-LGzmCRo,53
29
+ truefoundry/ml/__init__.py,sha256=yFjvF-e1RW488vLHgn5M7TXoajqww6grkKHb3mhqDEw,179
30
+ truefoundry-0.2.0rc5.dist-info/METADATA,sha256=OaBUuxH2on9rDV1Z3jdY38wg4GAUSE3t0xU0TIxcw78,1838
31
+ truefoundry-0.2.0rc5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
32
+ truefoundry-0.2.0rc5.dist-info/entry_points.txt,sha256=TXvUxQkI6zmqJuycPsyxEIMr3oqfDjgrWj0m_9X12x4,95
33
+ truefoundry-0.2.0rc5.dist-info/RECORD,,