Skip to content

Commit d86409a

Browse files
committed
Remove OpenRouter API key
1 parent feead09 commit d86409a

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

TODO.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ sharon@nf1:~/tmp/capatest2$ npx serve dist
4848
- [ ] An alternative to the pub/sub design - add streaming responses to the
4949
JSON/jS API (using SSE).
5050

51-
52-
5351
## Collections
5452

5553
- [ ] Collection - treat directories and files as collections of data.

examples/agent/app/assets/model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function buildExchangeBody(prompt) {
1515
}
1616

1717
export async function query(ctx) {
18-
const api_key = "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";
18+
const api_key = window.OPEN_ROUTER_API_KEY;
1919
const response = await fetch(
2020
"https://openrouter.ai/api/v1/chat/completions",
2121
{

0 commit comments

Comments
 (0)