Skip to content

Commit b1043ea

Browse files
authoredAug 27, 2024
docs(dreamcode): prompt default to CAPI (#7)
1 parent 23e2028 commit b1043ea

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed
 

‎dreamcode.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ import {
2323

2424
const copilotExtension = new CopilotExtension({
2525
agent: "my-app-name",
26-
prompt: {
27-
defaultModel: "gpt-4o",
28-
},
2926
});
3027

3128
copilotExtension.on(
@@ -79,7 +76,7 @@ Regarding the context passed to event handlers
7976

8077
- `message` / `confirmation` / etc are objects as received by the user
8178
- `octokit` is a pre-authenticated octokit instance
82-
- `prompt` is based on my work at https://github.com/github/gr2m-projects/blob/167/github-models/167-github-models/README.md. A simple API to interact with GitHub models.
79+
- `prompt` is based on my work at https://github.com/github/gr2m-projects/blob/167/github-models/167-github-models/README.md. A simple API to interact with GitHub models. I assume we will default the prompt URL to `https://api.githubcopilot.com/chat/completions` and the model to `gpt-4o` (or whatever our CAPI name for that is?)
8380
- `respond` is an API to send different types of responses to the user
8481
- `log` is the logger as we use it in Octokit. See https://github.com/octokit/core.js?tab=readme-ov-file#logging
8582

0 commit comments

Comments
 (0)
Failed to load comments.