Initial commit: KidsAI Explorer with complete functionality
- Complete KidsAI Explorer application - Multi-language support (English/German) - AI-powered educational guidance using OpenAI - Interactive chat interface for children - Proper placeholder translation fixes - Mobile-responsive design - Educational framework for critical thinking
This commit is contained in:
37
node_modules/openai/resources/beta/threads/runs/steps.mjs
generated
vendored
Normal file
37
node_modules/openai/resources/beta/threads/runs/steps.mjs
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
||||
import { APIResource } from "../../../../core/resource.mjs";
|
||||
import { CursorPage } from "../../../../core/pagination.mjs";
|
||||
import { buildHeaders } from "../../../../internal/headers.mjs";
|
||||
import { path } from "../../../../internal/utils/path.mjs";
|
||||
/**
|
||||
* @deprecated The Assistants API is deprecated in favor of the Responses API
|
||||
*/
|
||||
export class Steps extends APIResource {
|
||||
/**
|
||||
* Retrieves a run step.
|
||||
*
|
||||
* @deprecated The Assistants API is deprecated in favor of the Responses API
|
||||
*/
|
||||
retrieve(stepID, params, options) {
|
||||
const { thread_id, run_id, ...query } = params;
|
||||
return this._client.get(path `/threads/${thread_id}/runs/${run_id}/steps/${stepID}`, {
|
||||
query,
|
||||
...options,
|
||||
headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]),
|
||||
});
|
||||
}
|
||||
/**
|
||||
* Returns a list of run steps belonging to a run.
|
||||
*
|
||||
* @deprecated The Assistants API is deprecated in favor of the Responses API
|
||||
*/
|
||||
list(runID, params, options) {
|
||||
const { thread_id, ...query } = params;
|
||||
return this._client.getAPIList(path `/threads/${thread_id}/runs/${runID}/steps`, (CursorPage), {
|
||||
query,
|
||||
...options,
|
||||
headers: buildHeaders([{ 'OpenAI-Beta': 'assistants=v2' }, options?.headers]),
|
||||
});
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=steps.mjs.map
|
||||
Reference in New Issue
Block a user