From 69340a9df7722f7ef95daa07cccd2f39cbc38a85 Mon Sep 17 00:00:00 2001 From: Gregor Martynus <39992+gr2m@users.noreply.github.com> Date: Tue, 27 Aug 2024 15:38:28 -0700 Subject: [PATCH] docs(dreamcode): prompt default to CAPI --- dreamcode.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dreamcode.md b/dreamcode.md index 6538dba..afdf984 100644 --- a/dreamcode.md +++ b/dreamcode.md @@ -23,9 +23,6 @@ import { const copilotExtension = new CopilotExtension({ agent: "my-app-name", - prompt: { - defaultModel: "gpt-4o", - }, }); copilotExtension.on( @@ -79,7 +76,7 @@ Regarding the context passed to event handlers - `message` / `confirmation` / etc are objects as received by the user - `octokit` is a pre-authenticated octokit instance -- `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. +- `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?) - `respond` is an API to send different types of responses to the user - `log` is the logger as we use it in Octokit. See https://github.com/octokit/core.js?tab=readme-ov-file#logging