forked from evanp/inference-coop-copilot
feat: store API key in SecretStorage, add set/sign-out commands
This commit is contained in:
2 files changed
+170
-82
No files matched your search
+20
-12
@@ -28,8 +28,26 @@
|
||||
{
|
||||
"command": "inference-coop-copilot.helloWorld",
|
||||
"title": "Hello World"
|
||||
},
|
||||
{
|
||||
"command": "inferenceCoop.setKey",
|
||||
"title": "Inference Coop: Set API Key"
|
||||
},
|
||||
{
|
||||
"command": "inferenceCoop.clearKey",
|
||||
"title": "Inference Coop: Sign Out"
|
||||
}
|
||||
]
|
||||
],
|
||||
"configuration": {
|
||||
"title": "Inference Coop",
|
||||
"properties": {
|
||||
"inferenceCoop.baseUrl": {
|
||||
"type": "string",
|
||||
"default": "https://gateway.inference.coop/v1",
|
||||
"description": "Gateway base URL. Leave default unless testing."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"vscode:prepublish": "npm run package",
|
||||
@@ -60,15 +78,5 @@
|
||||
"overrides": {
|
||||
"diff": "^8.0.4",
|
||||
"serialize-javascript": "^7.0.6"
|
||||
},
|
||||
"configuration": {
|
||||
"title": "Inference Coop",
|
||||
"properties": {
|
||||
"inferenceCoop.apiKey": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "API key from the Inference Cooperative dashboard."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user