objectiveai 1.2.6 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -2131,7 +2131,7 @@ var Function;
2131
2131
  title: "TaskProfileArray",
2132
2132
  recursive: true,
2133
2133
  }))
2134
- .describe("An function profile for a function task defined inline.");
2134
+ .describe("A function profile for a function task defined inline.");
2135
2135
  Function_1.TaskProfileSchema = zod_1.default
2136
2136
  .union([
2137
2137
  Function_1.VectorCompletionTaskProfileSchema,
package/dist/index.d.ts CHANGED
@@ -65120,7 +65120,7 @@ export declare namespace Function {
65120
65120
  owner: string;
65121
65121
  repository: string;
65122
65122
  commit?: string | null | undefined;
65123
- }, body: Executions.Request.FunctionExecutionParamsInlineFunctionInlineProfileStreaming, options?: OpenAI.RequestOptions): Promise<Stream<Executions.Response.Streaming.FunctionExecutionChunk>>;
65123
+ }, body: Executions.Request.FunctionExecutionParamsRemoteFunctionRemoteProfileStreaming, options?: OpenAI.RequestOptions): Promise<Stream<Executions.Response.Streaming.FunctionExecutionChunk>>;
65124
65124
  function execute(openai: OpenAI, function_: InlineFunction | {
65125
65125
  owner: string;
65126
65126
  repository: string;
@@ -65129,7 +65129,7 @@ export declare namespace Function {
65129
65129
  owner: string;
65130
65130
  repository: string;
65131
65131
  commit?: string | null | undefined;
65132
- }, body: Executions.Request.FunctionExecutionParamsInlineFunctionInlineProfileNonStreaming, options?: OpenAI.RequestOptions): Promise<Executions.Response.Unary.FunctionExecution>;
65132
+ }, body: Executions.Request.FunctionExecutionParamsRemoteFunctionRemoteProfileNonStreaming, options?: OpenAI.RequestOptions): Promise<Executions.Response.Unary.FunctionExecution>;
65133
65133
  function computeProfileInlineFunction(openai: OpenAI, body: ComputeProfile.Request.FunctionComputeProfileParamsInlineFunctionStreaming, options?: OpenAI.RequestOptions): Promise<Stream<ComputeProfile.Response.Streaming.FunctionComputeProfileChunk>>;
65134
65134
  function computeProfileInlineFunction(openai: OpenAI, body: ComputeProfile.Request.FunctionComputeProfileParamsInlineFunctionNonStreaming, options?: OpenAI.RequestOptions): Promise<ComputeProfile.Response.Unary.FunctionComputeProfile>;
65135
65135
  function computeProfileRemoteFunction(openai: OpenAI, fowner: string, frepository: string, fcommit: string | null | undefined, body: ComputeProfile.Request.FunctionComputeProfileParamsRemoteFunctionStreaming, options?: OpenAI.RequestOptions): Promise<Stream<ComputeProfile.Response.Streaming.FunctionComputeProfileChunk>>;
@@ -65138,12 +65138,12 @@ export declare namespace Function {
65138
65138
  owner: string;
65139
65139
  repository: string;
65140
65140
  commit?: string | null | undefined;
65141
- }, body: ComputeProfile.Request.FunctionComputeProfileParamsInlineFunctionStreaming, options?: OpenAI.RequestOptions): Promise<Stream<ComputeProfile.Response.Streaming.FunctionComputeProfileChunk>>;
65141
+ }, body: ComputeProfile.Request.FunctionComputeProfileParamsRemoteFunctionStreaming, options?: OpenAI.RequestOptions): Promise<Stream<ComputeProfile.Response.Streaming.FunctionComputeProfileChunk>>;
65142
65142
  function computeProfile(openai: OpenAI, function_: InlineFunction | {
65143
65143
  owner: string;
65144
65144
  repository: string;
65145
65145
  commit?: string | null | undefined;
65146
- }, body: ComputeProfile.Request.FunctionComputeProfileParamsInlineFunctionNonStreaming, options?: OpenAI.RequestOptions): Promise<ComputeProfile.Response.Unary.FunctionComputeProfile>;
65146
+ }, body: ComputeProfile.Request.FunctionComputeProfileParamsRemoteFunctionNonStreaming, options?: OpenAI.RequestOptions): Promise<ComputeProfile.Response.Unary.FunctionComputeProfile>;
65147
65147
  const ListItemSchema: z.ZodObject<{
65148
65148
  owner: z.ZodString;
65149
65149
  repository: z.ZodString;
package/dist/index.js CHANGED
@@ -2125,7 +2125,7 @@ export var Function;
2125
2125
  title: "TaskProfileArray",
2126
2126
  recursive: true,
2127
2127
  }))
2128
- .describe("An function profile for a function task defined inline.");
2128
+ .describe("A function profile for a function task defined inline.");
2129
2129
  Function_1.TaskProfileSchema = z
2130
2130
  .union([
2131
2131
  Function_1.VectorCompletionTaskProfileSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "objectiveai",
3
- "version": "1.2.6",
3
+ "version": "1.2.7",
4
4
  "description": "SDK for the ObjectiveAI API.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {