@meistrari/agent-sdk 0.2.0 → 0.3.1
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/README.md +6 -1
- package/dist/index.cjs +54 -594
- package/dist/index.d.cts +16 -138
- package/dist/index.d.mts +16 -138
- package/dist/index.d.ts +16 -138
- package/dist/index.mjs +44 -578
- package/dist/schemas.cjs +665 -0
- package/dist/schemas.d.cts +63 -0
- package/dist/schemas.d.mts +63 -0
- package/dist/schemas.d.ts +63 -0
- package/dist/schemas.mjs +639 -0
- package/dist/shared/agent-sdk.3fcc7aba.d.cts +372 -0
- package/dist/shared/agent-sdk.3fcc7aba.d.mts +372 -0
- package/dist/shared/agent-sdk.3fcc7aba.d.ts +372 -0
- package/package.json +7 -1
package/README.md
CHANGED
|
@@ -102,7 +102,12 @@ const update = await client.updateAgentModel({
|
|
|
102
102
|
commitMessage: 'Switch support bot model',
|
|
103
103
|
})
|
|
104
104
|
|
|
105
|
-
|
|
105
|
+
if (update.success) {
|
|
106
|
+
console.log(update.commitHash)
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
console.error(update.error)
|
|
110
|
+
}
|
|
106
111
|
```
|
|
107
112
|
|
|
108
113
|
`updateAgentModel` writes `agent.config.json` on the main branch and lets agent-api
|