Skip to content

Conversation

@404Wolf
Copy link

@404Wolf 404Wolf commented Dec 1, 2025

  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

Update the tool call pattern to use a new async iterable style pattern that makes more easily accessible tool calls as they are fired, and API responses.

Additional context & links

Copy link

@zanllan23-dev zanllan23-dev left a comment

Choose a reason for hiding this comment

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

Ok

Comment on lines +2 to +3
import type { infer as zodInfer, ZodType } from 'zod';
import * as z from 'zod';
Copy link
Collaborator

Choose a reason for hiding this comment

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

chatkit: ChatKitAPI.ChatKit = new ChatKitAPI.ChatKit(this._client);
assistants: AssistantsAPI.Assistants = new AssistantsAPI.Assistants(this._client);
threads: ThreadsAPI.Threads = new ThreadsAPI.Threads(this._client);
chat: ChatAPI.Chat = new ChatAPI.Chat(this._client);
Copy link
Collaborator

Choose a reason for hiding this comment

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

you should define a sibling chat.ts file in this directory and define a new class there instead of adding toolRunner() to the existing resource class, as now it'll be accessible from client.chat.completions.toolRunner() which isn't what we want yet

update types

start setting up tests

get non streaming working

begin work on modifying anthropic tests to openai

update models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants