Skip to content
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.1.0"
".": "1.2.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 11
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/deeprails-inc%2Fdeeprails-5f0bb342de09a42c51e94feacb97cb4c11c513120637868e4bd0cdaedff14c0c.yml
openapi_spec_hash: 616b686ef84ded4978605efdbb72183e
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/deeprails-inc%2Fdeeprails-1b76015cbe2a339cfce6bdbdd0b09dcc23535e2dcd992306697d1e40d4a0f035.yml
openapi_spec_hash: ab1376d561bd2ee20973ba549a1d73f7
config_hash: 63c6f27e0ba2846cf2d04e70777b3b21
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.2.0 (2025-10-10)

Full Changelog: [v1.1.0...v1.2.0](https://github.com/deeprails/deeprails-typescript-sdk/compare/v1.1.0...v1.2.0)

### Features

* **api:** manual updates ([5520358](https://github.com/deeprails/deeprails-typescript-sdk/commit/552035886822d4ac2df81b8b4c4f709513c8b992))

## 1.1.0 (2025-10-08)

Full Changelog: [v1.0.0...v1.1.0](https://github.com/deeprails/deeprails-typescript-sdk/compare/v1.0.0...v1.1.0)
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": "deeprails",
"version": "1.1.0",
"version": "1.2.0",
"description": "The official TypeScript library for the Deeprails API",
"author": {
"name": "DeepRails",
Expand Down
10 changes: 5 additions & 5 deletions src/resources/defend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,18 @@ export interface DefendSubmitEventParams {
*/
model_used: string;

/**
* An optional, user-defined tag for the event.
*/
nametag: string;

/**
* Run mode for the workflow event. The run mode allows the user to optimize for
* speed, accuracy, and cost by determining which models are used to evaluate the
* event. Available run modes include `precision_plus`, `precision`, `smart`, and
* `economy`. Defaults to `smart`.
*/
run_mode: 'precision_plus' | 'precision' | 'smart' | 'economy';

/**
* An optional, user-defined tag for the event.
*/
nametag?: string;
}

export namespace DefendSubmitEventParams {
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '1.1.0'; // x-release-please-version
export const VERSION = '1.2.0'; // x-release-please-version
3 changes: 1 addition & 2 deletions tests/api-resources/defend.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ describe('resource defend', () => {
model_input: { user_prompt: 'user_prompt' },
model_output: 'model_output',
model_used: 'model_used',
nametag: 'nametag',
run_mode: 'precision_plus',
});
const rawResponse = await responsePromise.asResponse();
Expand All @@ -91,8 +90,8 @@ describe('resource defend', () => {
model_input: { user_prompt: 'user_prompt', context: 'context' },
model_output: 'model_output',
model_used: 'model_used',
nametag: 'nametag',
run_mode: 'precision_plus',
nametag: 'nametag',
});
});

Expand Down