You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Applications can now override built-in tools such as `grep`, `edit_file`, or `read_file`. To do this, register a custom tool with the same name and set the override flag. Without the flag, the runtime will return an error if the name clashes with a built-in. ([#636](https://github.com/github/copilot-sdk/pull/636))
### Feature: simpler API for changing model mid-session
39
+
40
+
While `session.rpc.model.switchTo()` already worked, there is now a convenience method directly on the session object. ([#621](https://github.com/github/copilot-sdk/pull/621))
41
+
42
+
- TypeScript: `await session.setModel("gpt-4.1")`
43
+
- C#: `await session.SetModelAsync("gpt-4.1")`
44
+
- Python: `await session.set_model("gpt-4.1")`
45
+
- Go: `err := session.SetModel(ctx, "gpt-4.1")`
46
+
47
+
### Other changes
48
+
49
+
- improvement: **[C#]** use event delegate for thread-safe, insertion-ordered event handler dispatch ([#624](https://github.com/github/copilot-sdk/pull/624))
50
+
- improvement: **[C#]** deduplicate `OnDisposeCall` and improve implementation ([#626](https://github.com/github/copilot-sdk/pull/626))
0 commit comments