Skip to content

Commit d93255a

Browse files
authored
[chore] [sdk] bump cozeloop-ai and cozeloop-langchain (#12)
* ci: adjust notification event * feat(cozeloop-langchain): bump to 0.0.2 * feat(cozeloop-ai): bump to 0.0.5 * ci: lark chat id
1 parent fb0c689 commit d93255a

File tree

9 files changed

+14
-9
lines changed

9 files changed

+14
-9
lines changed

.github/workflows/issue-sync.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Issue Notification
22

33
on:
44
issues:
5-
types: ['opened', 'reopened', 'closed']
5+
types: ['opened', 'reopened']
66

77
jobs:
88
sync:
@@ -32,4 +32,4 @@ jobs:
3232
- name: Notify via lark
3333
run: |
3434
cozeloop-ci lark sync-issue \
35-
--email qihai@bytedance.com
35+
--chat-id oc_72317b3108b14bd63359a6582cf45443

.github/workflows/pr-sync.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: PR Notification
22

33
on:
4-
pull_request:
4+
pull_request_target:
55
types: ['opened', 'reopened', 'closed']
66

77
jobs:
@@ -37,4 +37,4 @@ jobs:
3737
- name: Notify via lark
3838
run: |
3939
cozeloop-ci lark sync-pr \
40-
--email qihai@bytedance.com
40+
--chat-id oc_72317b3108b14bd63359a6582cf45443

packages/cozeloop-ai/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# 🕗 Change Log - @cozeloop/ai
22

3+
## 0.0.5
4+
* fix: variable_defs may be undefined (by @othorizon)
5+
36
## 0.0.1 ~ 0.0.4
47
🌱 Early version
58

packages/cozeloop-ai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cozeloop/ai",
3-
"version": "0.0.4",
3+
"version": "0.0.5",
44
"description": "Official Node.js SDK of CozeLoop | 扣子罗盘官方 Node.js SDK",
55
"keywords": [
66
"cozeloop",

packages/cozeloop-langchain/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# 🕗 Change Log - @cozeloop/langchain
22

3+
## 0.0.2
4+
fix: DEFAULT_SCHEDULE_DELAY to 1_000 ms
5+
36
## 0.0.1
47
🌱 Initial version
5-

packages/cozeloop-langchain/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# 🧭 CozeLoop LangChain Integration
22

3+
[![npm version](https://img.shields.io/npm/v/%40cozeloop%2Flangchain)](https://www.npmjs.com/package/@cozeloop/langchain)
34
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
45

56
Integrate Langchain with Cozeloop via `@cozeloop/langchain`, supports:

packages/cozeloop-langchain/__tests__/__mock__/graph-agent.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// npm install @langchain-anthropic
21
import { z } from 'zod';
32
import { AzureChatOpenAI } from '@langchain/openai';
43
import { createReactAgent } from '@langchain/langgraph/prebuilt';

packages/cozeloop-langchain/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@cozeloop/langchain",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Integration LangChain with CozeLoop | 扣子罗盘 LangChain 集成",
55
"keywords": [
66
"cozeloop",

packages/cozeloop-langchain/src/otel/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function formatPropertyUnprovidedError(propName: string, envKey: string) {
77
}
88

99
const DEFAULT_BATCH_SIZE = 100;
10-
const DEFAULT_SCHEDULE_DELAY = 30_000;
10+
const DEFAULT_SCHEDULE_DELAY = 1_000;
1111
const DEFAULT_TRACE_ENDPOINT =
1212
'https://api.coze.cn/v1/loop/opentelemetry/v1/traces';
1313

0 commit comments

Comments
 (0)