We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feead09 commit d86409aCopy full SHA for d86409a
2 files changed
TODO.md
@@ -48,8 +48,6 @@ sharon@nf1:~/tmp/capatest2$ npx serve dist
48
- [ ] An alternative to the pub/sub design - add streaming responses to the
49
JSON/jS API (using SSE).
50
51
-
52
53
## Collections
54
55
- [ ] Collection - treat directories and files as collections of data.
examples/agent/app/assets/model.js
@@ -15,7 +15,7 @@ export function buildExchangeBody(prompt) {
15
}
16
17
export async function query(ctx) {
18
- const api_key = "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";
+ const api_key = window.OPEN_ROUTER_API_KEY;
19
const response = await fetch(
20
"https://openrouter.ai/api/v1/chat/completions",
21
{
0 commit comments