truefoundry 0.6.4__py3-none-any.whl → 0.6.6__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.

truefoundry/__init__.py CHANGED
@@ -1,10 +1,15 @@
1
1
  from truefoundry_sdk import (
2
2
  AssistantMessage,
3
3
  ChatPromptManifest,
4
+ DeveloperMessage,
5
+ FunctionSchema,
4
6
  ModelConfiguration,
5
7
  Parameters,
6
8
  PromptVersion,
7
9
  SystemMessage,
10
+ ToolCall,
11
+ ToolMessage,
12
+ ToolSchema,
8
13
  UserMessage,
9
14
  )
10
15
 
@@ -17,10 +22,13 @@ from truefoundry.deploy.core import login, logout
17
22
  from truefoundry.ml.prompt_utils import render_prompt
18
23
 
19
24
  surface_truefoundry_deprecation_warnings()
25
+
20
26
  __all__ = [
21
27
  "AssistantMessage",
22
28
  "ChatPromptManifest",
23
29
  "client",
30
+ "DeveloperMessage",
31
+ "FunctionSchema",
24
32
  "login",
25
33
  "logout",
26
34
  "ModelConfiguration",
@@ -29,5 +37,8 @@ __all__ = [
29
37
  "render_prompt",
30
38
  "suppress_truefoundry_deprecation_warnings",
31
39
  "SystemMessage",
40
+ "ToolCall",
41
+ "ToolMessage",
42
+ "ToolSchema",
32
43
  "UserMessage",
33
44
  ]
@@ -61,5 +61,5 @@ def render_prompt(
61
61
  return {
62
62
  "messages": rendered_messages,
63
63
  "model": model_configuration.model,
64
- "parameters": parameters,
64
+ "parameters": {k: v for k, v in parameters.items() if v is not None},
65
65
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: truefoundry
3
- Version: 0.6.4
3
+ Version: 0.6.6
4
4
  Summary: TrueFoundry CLI
5
5
  Author-email: TrueFoundry Team <abhishek@truefoundry.com>
6
6
  Requires-Python: <3.14,>=3.8.1
@@ -1,4 +1,4 @@
1
- truefoundry/__init__.py,sha256=_Ty6ohIytSuJfQDEC7mCKW0aBEb6bAI2pRDi01haAnU,778
1
+ truefoundry/__init__.py,sha256=VVpO-Awh1v93VOURe7hank8QpeSPc0dCykwr14GOFsw,967
2
2
  truefoundry/_client.py,sha256=Y3qHi_Lg4Sx6GNvsjAHIoAfFr8PJnqgCrXmpNAI3ECg,1417
3
3
  truefoundry/logger.py,sha256=u-YCNjg5HBwE70uQcpjIG64Ghos-K2ulTWaxC03BSj4,714
4
4
  truefoundry/pydantic_v1.py,sha256=jSuhGtz0Mbk1qYu8jJ1AcnIDK4oxUsdhALc4spqstmM,345
@@ -121,7 +121,7 @@ truefoundry/ml/logger.py,sha256=VT-BF3BnBYTWVq87O58F0c8uXMu94gYzsiFlGY3_7Ao,458
121
121
  truefoundry/ml/mlfoundry_api.py,sha256=WiIVpJRylBn8NrcAmXClQnavffqI9fhY5h-8Vwx4RKo,59872
122
122
  truefoundry/ml/mlfoundry_run.py,sha256=34yyQqgpG6EfrAJd37vkbCjrFoHkhvbOAxxSQcSWPtY,44320
123
123
  truefoundry/ml/model_framework.py,sha256=nVbKTtKDRBdLzt7Wrg5_vJKZ-awHbISGvL73s-V9egU,18975
124
- truefoundry/ml/prompt_utils.py,sha256=K5CnHKcxciHD20gtxAvuGAoLc08NwjOB5gxDvlkroxc,2470
124
+ truefoundry/ml/prompt_utils.py,sha256=muN0P9OTKtm9SLr25e0U0W1vx_v9vWxV3tvAUUC-8HE,2514
125
125
  truefoundry/ml/run_utils.py,sha256=0W208wSLUrbdfk2pjNcZlkUi9bNxG2JORqoe-5rVqHI,2423
126
126
  truefoundry/ml/session.py,sha256=2v8JjFyrcKzKQ8qsTaZaQTqlxl-in9odIMyWWMEqWNY,4436
127
127
  truefoundry/ml/validation_utils.py,sha256=rmIBNcpmnwq2jeje6uFg8uY-rL4JG_RV6mc6BlujVWg,12150
@@ -372,7 +372,7 @@ truefoundry/workflow/remote_filesystem/__init__.py,sha256=LQ95ViEjJ7Ts4JcCGOxMPs
372
372
  truefoundry/workflow/remote_filesystem/logger.py,sha256=em2l7D6sw7xTLDP0kQSLpgfRRCLpN14Qw85TN7ujQcE,1022
373
373
  truefoundry/workflow/remote_filesystem/tfy_signed_url_client.py,sha256=xcT0wQmQlgzcj0nP3tJopyFSVWT1uv3nhiTIuwfXYeg,12342
374
374
  truefoundry/workflow/remote_filesystem/tfy_signed_url_fs.py,sha256=nSGPZu0Gyd_jz0KsEE-7w_BmnTD8CVF1S8cUJoxaCbc,13305
375
- truefoundry-0.6.4.dist-info/METADATA,sha256=Zlf3TokDrDXPIDuTfabZ5A9jv6fegUeVYE3bntGuaaU,2350
376
- truefoundry-0.6.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
377
- truefoundry-0.6.4.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
378
- truefoundry-0.6.4.dist-info/RECORD,,
375
+ truefoundry-0.6.6.dist-info/METADATA,sha256=AnPnseWxHjSlnew5DfTaYf0YkkNlHpB8EN7Oynckakg,2350
376
+ truefoundry-0.6.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
377
+ truefoundry-0.6.6.dist-info/entry_points.txt,sha256=xVjn7RMN-MW2-9f7YU-bBdlZSvvrwzhpX1zmmRmsNPU,98
378
+ truefoundry-0.6.6.dist-info/RECORD,,