mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-01 20:39:26 -06:00
Enable only in beta
This commit is contained in:
@@ -3,3 +3,6 @@ httpRoot=/beta
|
||||
storageSolution=s3
|
||||
motdUrl=/motd/motd-beta.json
|
||||
sentryEnvironment=beta
|
||||
|
||||
# Claude Explain API endpoint, for beta
|
||||
explainApiEndpoint=https://api.compiler-explorer.com/explain
|
||||
|
||||
@@ -63,6 +63,3 @@ statusTrackingEnabled=true
|
||||
|
||||
# adds endpoint '/localexecution/:hash' for testing of remote execution
|
||||
localexecutionEndpoint=false
|
||||
|
||||
# Claude Explain API endpoint
|
||||
explainApiEndpoint=https://api.compiler-explorer.com/explain
|
||||
|
||||
@@ -973,7 +973,7 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co
|
||||
|
||||
// Hide Claude Explain button if no API endpoint is configured
|
||||
if (!options.explainApiEndpoint) {
|
||||
this.explainButton.parent().hide();
|
||||
this.explainButton.hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user