Skip to content

Commit 1a5ddda

Browse files
author
Gautam Kumar
committed
docs: update SDK version in examples from 0.0.16 to 0.10.7
The SDK README was showing outdated version 0.0.16 in code examples, but the current version is 0.10.7. Updated all instances to reflect the current version. Signed-off-by: Gautam Kumar <gautamkumarofficial@users.noreply.github.com>
1 parent e99e31d commit 1a5ddda

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sdk/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async function main() {
3030
// First run
3131
const runState1 = await client.run({
3232
// The agent id. Any agent on the store (https://codebuff.com/store)
33-
agent: 'codebuff/base@0.0.16',
33+
agent: 'codebuff/base@0.10.7',
3434
prompt: 'Create a simple calculator class',
3535
handleEvent: (event) => {
3636
// All events that happen during the run: agent start/finish, tool calls/results, text responses, errors.
@@ -40,7 +40,7 @@ async function main() {
4040

4141
// Continue the same session with a follow-up
4242
const runOrError2 = await client.run({
43-
agent: 'codebuff/base@0.0.16',
43+
agent: 'codebuff/base@0.10.7',
4444
prompt: 'Add unit tests for the calculator',
4545
previousRun: runState1, // <-- this is where your next run differs from the previous run
4646
handleEvent: (event) => {
@@ -147,7 +147,7 @@ Override with `knowledgeFiles` (replaces project files) or `userKnowledgeFiles`
147147

148148
```typescript
149149
await client.run({
150-
agent: 'codebuff/base@0.0.16',
150+
agent: 'codebuff/base@0.10.7',
151151
prompt: 'Help me refactor',
152152
knowledgeFiles: { 'knowledge.md': '# Guidelines\n- Use TypeScript' },
153153
userKnowledgeFiles: { '~/.knowledge.md': '# Preferences\n- Be concise' },

0 commit comments

Comments
 (0)