Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,6 @@ jobs:
- name: Install dependencies
run: poetry install

# Needed for codegen integration tests (test_zero_diff_transforms)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18.18.0"
- name: Install codegen dependencies
run: npm install
working-directory: ee/codegen

- name: Test
run: make test-ci
Comment on lines 49 to 53

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Restore Node/npm install for codegen integration tests

The test job now runs make test-ci immediately after poetry install, but make test-ci runs pytest . (see Makefile lines 33-41), which includes ee/codegen_integration/test_zero_diff_transforms.py. That test shells out to npx tsx src/cli.ts in ee/codegen (lines 173-187), which requires Node plus the codegen package’s node_modules. With the Node setup and npm install step removed, CI will fail at runtime with missing tsx/module dependencies whenever those integration tests are collected. Consider restoring the Node setup + npm install step or explicitly skipping those tests in CI.

Useful? React with 👍 / 👎.


Expand Down
4 changes: 2 additions & 2 deletions ee/codegen/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ee/codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vellum-ai/vellum-codegen",
"version": "1.13.5",
"version": "1.13.6",
"main": "lib/src/index.js",
"typings": "lib/src/index.d.ts",
"files": [
Expand Down
14 changes: 7 additions & 7 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "vellum-ai"

[tool.poetry]
name = "vellum-ai"
version = "1.13.5"
version = "1.13.6"
description = ""
readme = "README.md"
authors = []
Expand Down
4 changes: 2 additions & 2 deletions src/vellum/client/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "vellum-ai/1.13.5",
"User-Agent": "vellum-ai/1.13.6",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "vellum-ai",
"X-Fern-SDK-Version": "1.13.5",
"X-Fern-SDK-Version": "1.13.6",
**(self.get_custom_headers() or {}),
}
if self._api_version is not None:
Expand Down
20 changes: 2 additions & 18 deletions src/vellum/client/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@ client.integrations.execute_integration_tool(
<dl>
<dd>

**integration_name_:** `str` — The integration name
**integration_name:** `str` — The integration name

</dd>
</dl>
Expand All @@ -1533,7 +1533,7 @@ client.integrations.execute_integration_tool(
<dl>
<dd>

**tool_name_:** `str` — The tool's unique name, as specified by the integration provider
**tool_name:** `str` — The tool's unique name, as specified by the integration provider

</dd>
</dl>
Expand All @@ -1557,14 +1557,6 @@ client.integrations.execute_integration_tool(
<dl>
<dd>

**integration_name:** `typing.Optional[str]`

</dd>
</dl>

<dl>
<dd>

**integration:** `typing.Optional[str]`

</dd>
Expand All @@ -1573,14 +1565,6 @@ client.integrations.execute_integration_tool(
<dl>
<dd>

**tool_name:** `typing.Optional[str]`

</dd>
</dl>

<dl>
<dd>

**tool:** `typing.Optional[str]`

</dd>
Expand Down
2 changes: 1 addition & 1 deletion src/vellum/client/types/auth_type_enum.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

import typing

AuthTypeEnum = typing.Union[typing.Literal["API_KEY", "OAUTH2"], typing.Any]
AuthTypeEnum = typing.Union[typing.Literal["API_KEY", "GOOGLE_SERVICE_ACCOUNT", "OAUTH2"], typing.Any]
2 changes: 0 additions & 2 deletions src/vellum/client/types/composio_execute_tool_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ class ComposioExecuteToolRequest(UniversalBaseModel):
provider: typing.Literal["COMPOSIO"] = "COMPOSIO"
arguments: typing.Dict[str, typing.Optional[typing.Any]]
toolkit_version: typing.Optional[str] = None
integration_name: typing.Optional[str] = None
integration: typing.Optional[str] = None
tool_name: typing.Optional[str] = None
tool: typing.Optional[str] = None

if IS_PYDANTIC_V2:
Expand Down
1 change: 1 addition & 0 deletions src/vellum/client/types/integration_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"GMAIL",
"GOOGLE_ADS",
"GOOGLE_ANALYTICS",
"GOOGLE_BIGQUERY",
"GOOGLE_DOCS",
"GOOGLE_PHOTOS",
"GOOGLE_SEARCH_CONSOLE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
class WorkflowExecutionInitiatedBody(UniversalBaseModel):
workflow_definition: VellumCodeResourceDefinition
inputs: typing.Dict[str, typing.Optional[typing.Any]]
trigger: typing.Optional[VellumCodeResourceDefinition] = None

if IS_PYDANTIC_V2:
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
Expand Down
Loading