Skip to content

Commit

Permalink
Merge pull request #52 from gizatechxyz/fix/model-category-agents
Browse files Browse the repository at this point in the history
Fix XGB inference inside Agents
  • Loading branch information
Gonmeso authored May 23, 2024
2 parents eff9bd9 + 99b50a8 commit 31d91f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions giza/agents/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def predict(
custom_output_dtype: Optional[str] = None,
job_size: str = "M",
dry_run: bool = False,
model_category: Optional[str] = None,
**result_kwargs: Any,
) -> Optional[Union[Tuple[Any, Any], "AgentResult"]]:
"""
Expand All @@ -270,6 +271,7 @@ def predict(
custom_output_dtype=custom_output_dtype,
job_size=job_size,
dry_run=dry_run,
model_category=model_category,
)

self.verifiable = verifiable
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "giza-agents"
version = "0.4.0"
version = "0.4.1"

description = "A Python SDK for Giza platform"
authors = [
Expand Down

0 comments on commit 31d91f6

Please sign in to comment.