@aigne/openai 0.1.0 → 0.2.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.0](https://github.com/AIGNE-io/aigne-framework/compare/openai-v0.1.0...openai-v0.2.0) (2025-05-25)
4
+
5
+
6
+ ### Features
7
+
8
+ * add user context support ([#131](https://github.com/AIGNE-io/aigne-framework/issues/131)) ([4dd9d20](https://github.com/AIGNE-io/aigne-framework/commit/4dd9d20953f6ac33933723db56efd9b44bafeb02))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @aigne/core bumped to 1.17.0
16
+ * devDependencies
17
+ * @aigne/test-utils bumped to 0.3.1
18
+
3
19
  ## [0.1.0](https://github.com/AIGNE-io/aigne-framework/compare/openai-v0.0.1...openai-v0.1.0) (2025-05-23)
4
20
 
5
21
 
@@ -110,7 +110,7 @@ export declare const openAIChatModelOptionsSchema: z.ZodObject<{
110
110
  *
111
111
  * @example
112
112
  * Here's an example with streaming response:
113
- * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-streaming}
113
+ * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-stream}
114
114
  */
115
115
  export declare class OpenAIChatModel extends ChatModel {
116
116
  options?: OpenAIChatModelOptions | undefined;
@@ -56,7 +56,7 @@ exports.openAIChatModelOptionsSchema = zod_1.z.object({
56
56
  *
57
57
  * @example
58
58
  * Here's an example with streaming response:
59
- * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-streaming}
59
+ * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-stream}
60
60
  */
61
61
  class OpenAIChatModel extends core_1.ChatModel {
62
62
  options;
@@ -110,7 +110,7 @@ export declare const openAIChatModelOptionsSchema: z.ZodObject<{
110
110
  *
111
111
  * @example
112
112
  * Here's an example with streaming response:
113
- * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-streaming}
113
+ * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-stream}
114
114
  */
115
115
  export declare class OpenAIChatModel extends ChatModel {
116
116
  options?: OpenAIChatModelOptions | undefined;
@@ -110,7 +110,7 @@ export declare const openAIChatModelOptionsSchema: z.ZodObject<{
110
110
  *
111
111
  * @example
112
112
  * Here's an example with streaming response:
113
- * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-streaming}
113
+ * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-stream}
114
114
  */
115
115
  export declare class OpenAIChatModel extends ChatModel {
116
116
  options?: OpenAIChatModelOptions | undefined;
@@ -47,7 +47,7 @@ export const openAIChatModelOptionsSchema = z.object({
47
47
  *
48
48
  * @example
49
49
  * Here's an example with streaming response:
50
- * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-streaming}
50
+ * {@includeCode ../test/openai-chat-model.test.ts#example-openai-chat-model-stream}
51
51
  */
52
52
  export class OpenAIChatModel extends ChatModel {
53
53
  options;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aigne/openai",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "AIGNE OpenAI SDK for integrating with OpenAI's GPT models and API services",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -35,7 +35,7 @@
35
35
  "nanoid": "^5.1.5",
36
36
  "openai": "^4.87.3",
37
37
  "zod": "^3.24.4",
38
- "@aigne/core": "^1.16.0"
38
+ "@aigne/core": "^1.17.0"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/bun": "^1.2.12",
@@ -43,7 +43,7 @@
43
43
  "npm-run-all": "^4.1.5",
44
44
  "rimraf": "^6.0.1",
45
45
  "typescript": "^5.8.3",
46
- "@aigne/test-utils": "^0.3.0"
46
+ "@aigne/test-utils": "^0.3.1"
47
47
  },
48
48
  "scripts": {
49
49
  "lint": "tsc --noEmit",