Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(api): api update #217

Merged
merged 1 commit into from
Feb 18, 2025
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 .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 52
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-d71538f9a51a6eb7e007d2c463aa461809ce549dbd48ab4e657d0207fa5c4971.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/julep-ai-inc-dash%2Fjulep-854c2437e2f6b49e41fc38c9db2140054af2cf27a80452a3947189d7bac3af27.yml
10 changes: 10 additions & 0 deletions src/resources/agents/agents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ export interface Agent {

default_settings?: unknown | null;

default_system_template?: string;

instructions?: string | Array<string>;

metadata?: unknown | null;
Expand All @@ -123,6 +125,8 @@ export interface AgentCreateParams {

default_settings?: unknown | null;

default_system_template?: string;

instructions?: string | Array<string>;

metadata?: unknown | null;
Expand All @@ -137,6 +141,8 @@ export interface AgentUpdateParams {

default_settings?: unknown | null;

default_system_template?: string;

instructions?: string | Array<string>;

metadata?: unknown | null;
Expand All @@ -163,6 +169,8 @@ export interface AgentCreateOrUpdateParams {

default_settings?: unknown | null;

default_system_template?: string;

instructions?: string | Array<string>;

metadata?: unknown | null;
Expand All @@ -179,6 +187,8 @@ export interface AgentResetParams {

default_settings?: unknown | null;

default_system_template?: string;

instructions?: string | Array<string>;

metadata?: unknown | null;
Expand Down
10 changes: 5 additions & 5 deletions src/resources/sessions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4304,7 +4304,7 @@ export interface Session {

summary?: string | null;

system_template?: string;
system_template?: string | null;

token_budget?: number | null;
}
Expand Down Expand Up @@ -4764,7 +4764,7 @@ export interface SessionCreateParams {

situation?: string | null;

system_template?: string;
system_template?: string | null;

token_budget?: number | null;

Expand Down Expand Up @@ -4810,7 +4810,7 @@ export interface SessionUpdateParams {

situation?: string | null;

system_template?: string;
system_template?: string | null;

token_budget?: number | null;
}
Expand Down Expand Up @@ -5872,7 +5872,7 @@ export interface SessionCreateOrUpdateParams {

situation?: string | null;

system_template?: string;
system_template?: string | null;

token_budget?: number | null;

Expand Down Expand Up @@ -5918,7 +5918,7 @@ export interface SessionResetParams {

situation?: string | null;

system_template?: string;
system_template?: string | null;

token_budget?: number | null;
}
Expand Down
3 changes: 3 additions & 0 deletions tests/api-resources/agents/agents.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('resource agents', () => {
about: 'about',
canonical_name: 'canonical_name',
default_settings: {},
default_system_template: 'default_system_template',
instructions: 'string',
metadata: {},
model: 'model',
Expand Down Expand Up @@ -108,6 +109,7 @@ describe('resource agents', () => {
about: 'about',
canonical_name: 'canonical_name',
default_settings: {},
default_system_template: 'default_system_template',
instructions: 'string',
metadata: {},
model: 'model',
Expand Down Expand Up @@ -149,6 +151,7 @@ describe('resource agents', () => {
about: 'about',
canonical_name: 'canonical_name',
default_settings: {},
default_system_template: 'default_system_template',
instructions: 'string',
metadata: {},
model: 'model',
Expand Down