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
Copy file name to clipboardexpand all lines: dreamcode.md
+1-4
Original file line number
Diff line number
Diff line change
@@ -23,9 +23,6 @@ import {
23
23
24
24
constcopilotExtension=newCopilotExtension({
25
25
agent:"my-app-name",
26
-
prompt: {
27
-
defaultModel:"gpt-4o",
28
-
},
29
26
});
30
27
31
28
copilotExtension.on(
@@ -79,7 +76,7 @@ Regarding the context passed to event handlers
79
76
80
77
-`message` / `confirmation` / etc are objects as received by the user
81
78
-`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?)
83
80
-`respond` is an API to send different types of responses to the user
84
81
-`log` is the logger as we use it in Octokit. See https://github.com/octokit/core.js?tab=readme-ov-file#logging
0 commit comments