Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 1.48.0 #180

Merged
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.47.0"
".": "1.48.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 47
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-87a89469a2262492355fab423c5349f0fd6a020cdd7fde8de9ec8c14bf2c57eb.yml
configured_endpoints: 52
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-a707ace7212c4b8c3a63c93c36a42e1f77d7ca0969d1c2258560d0021c473a8a.yml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.48.0 (2025-01-13)

Full Changelog: [v1.47.0...v1.48.0](https://github.com/julep-ai/node-sdk/compare/v1.47.0...v1.48.0)

### Features

* **api:** api update ([#179](https://github.com/julep-ai/node-sdk/issues/179)) ([dda5534](https://github.com/julep-ai/node-sdk/commit/dda55342596144add0871bcc324f73d780416512))

## 1.47.0 (2025-01-11)

Full Changelog: [v1.46.0...v1.47.0](https://github.com/julep-ai/node-sdk/compare/v1.46.0...v1.47.0)
Expand Down
12 changes: 12 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,18 @@ Methods:

## Tools

Types:

- <code><a href="./src/resources/agents/tools.ts">ToolListResponse</a></code>

Methods:

- <code title="post /agents/{agent_id}/tools">client.agents.tools.<a href="./src/resources/agents/tools.ts">create</a>(agentId, { ...params }) -> ResourceCreated</code>
- <code title="put /agents/{agent_id}/tools/{tool_id}">client.agents.tools.<a href="./src/resources/agents/tools.ts">update</a>(agentId, toolId, { ...params }) -> ResourceUpdated</code>
- <code title="get /agents/{agent_id}/tools">client.agents.tools.<a href="./src/resources/agents/tools.ts">list</a>(agentId, { ...params }) -> ToolListResponsesOffsetPagination</code>
- <code title="delete /agents/{agent_id}/tools/{tool_id}">client.agents.tools.<a href="./src/resources/agents/tools.ts">delete</a>(agentId, toolId) -> ResourceDeleted</code>
- <code title="patch /agents/{agent_id}/tools/{tool_id}">client.agents.tools.<a href="./src/resources/agents/tools.ts">patch</a>(agentId, toolId, { ...params }) -> ResourceUpdated</code>

## Docs

Types:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@julep/sdk",
"version": "1.47.0",
"version": "1.48.0",
"description": "The official TypeScript library for the Julep API",
"author": "Julep <[email protected]>",
"types": "dist/index.d.ts",
Expand Down
21 changes: 19 additions & 2 deletions src/resources/agents/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ import * as Shared from '../shared';
import * as DocsAPI from './docs';
import { DocCreateParams, DocListParams, DocSearchParams, DocSearchResponse, Docs } from './docs';
import * as ToolsAPI from './tools';
import { Tools } from './tools';
import {
ToolCreateParams,
ToolListParams,
ToolListResponse,
ToolListResponsesOffsetPagination,
ToolPatchParams,
ToolUpdateParams,
Tools,
} from './tools';
import { OffsetPagination, type OffsetPaginationParams } from '../../pagination';

export class Agents extends APIResource {
Expand Down Expand Up @@ -305,6 +313,7 @@ export namespace AgentPatchParams {

Agents.AgentsOffsetPagination = AgentsOffsetPagination;
Agents.Tools = Tools;
Agents.ToolListResponsesOffsetPagination = ToolListResponsesOffsetPagination;
Agents.Docs = Docs;

export declare namespace Agents {
Expand All @@ -318,7 +327,15 @@ export declare namespace Agents {
type AgentPatchParams as AgentPatchParams,
};

export { Tools as Tools };
export {
Tools as Tools,
type ToolListResponse as ToolListResponse,
ToolListResponsesOffsetPagination as ToolListResponsesOffsetPagination,
type ToolCreateParams as ToolCreateParams,
type ToolUpdateParams as ToolUpdateParams,
type ToolListParams as ToolListParams,
type ToolPatchParams as ToolPatchParams,
};

export {
Docs as Docs,
Expand Down
10 changes: 9 additions & 1 deletion src/resources/agents/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,12 @@ export {
type DocListParams,
type DocSearchParams,
} from './docs';
export { Tools } from './tools';
export {
ToolListResponsesOffsetPagination,
Tools,
type ToolListResponse,
type ToolCreateParams,
type ToolUpdateParams,
type ToolListParams,
type ToolPatchParams,
} from './tools';
Loading
Loading