Skip to content

Commit

Permalink
fix: use relative paths (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stainless Bot authored and stainless-app[bot] committed Jul 29, 2024
1 parent 869e9f0 commit dfd0eca
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import * as Errors from './error';
import * as Uploads from './uploads';
import { type Agent } from './_shims/index';
import * as Core from '@anthropic-ai/sdk/core';
import * as API from '@anthropic-ai/sdk/resources/index';
import * as Core from './core';
import * as API from './resources/index';

export interface ClientOptions {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/resource.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import * as Core from '@anthropic-ai/sdk/core';
import * as Core from './core';

export class APIResource {
protected _client: Core.APIClient;
Expand Down
10 changes: 5 additions & 5 deletions src/resources/completions.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import { APIResource } from '@anthropic-ai/sdk/resource';
import { APIPromise } from '@anthropic-ai/sdk/core';
import * as Core from '@anthropic-ai/sdk/core';
import * as CompletionsAPI from '@anthropic-ai/sdk/resources/completions';
import { Stream } from '@anthropic-ai/sdk/streaming';
import { APIResource } from '../resource';
import { APIPromise } from '../core';
import * as Core from '../core';
import * as CompletionsAPI from './completions';
import { Stream } from '../streaming';

export class Completions extends APIResource {
/**
Expand Down
16 changes: 8 additions & 8 deletions src/resources/messages.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

import { APIResource } from '@anthropic-ai/sdk/resource';
import { APIPromise } from '@anthropic-ai/sdk/core';
import * as Core from '@anthropic-ai/sdk/core';
import { MessageStream } from '@anthropic-ai/sdk/lib/MessageStream';
import * as MessagesAPI from '@anthropic-ai/sdk/resources/messages';
import { Stream } from '@anthropic-ai/sdk/streaming';

export { MessageStream } from '@anthropic-ai/sdk/lib/MessageStream';
import { APIResource } from '../resource';
import { APIPromise } from '../core';
import * as Core from '../core';
import * as MessagesAPI from './messages';
import { Stream } from '../streaming';
import { MessageStream } from '../lib/MessageStream';

export { MessageStream } from '../lib/MessageStream';

export class Messages extends APIResource {
/**
Expand Down

0 comments on commit dfd0eca

Please sign in to comment.