src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.ts/InteractiveEditorInput/resolveInput
class InteractiveEditorInput:	async resolveInput(language: string) {
		if (this._inputModelRef) {
			return this._inputModelRef.object.textEditorModel;
		}

		this._interactiveDocumentService.willCreateInteractiveDocument(this.resource!, this.inputResource, language);
		this._inputModelRef = await this._textModelService.createModelReference(this.inputResource);

		if (this._data && this._data.inputData) {
			this._inputModelRef.object.textEditorModel.setValue(this._data.inputData.value);
		}

		return this._inputModelRef.object.textEditorModel;
	}