Skip to content

Commit e420542

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 e420542

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sdk/README.md

Lines changed: 2 additions & 2 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) => {

0 commit comments

Comments
 (0)