This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // OpenAI function call guide: https://platform.openai.com/docs/guides/gpt/function-calling | |
| // JSON Schema reference: https://json-schema.org/understanding-json-schema/ | |
| monaco.languages.json.jsonDefaults.setDiagnosticsOptions({ | |
| validate: true, | |
| schemas: [ | |
| { | |
| uri: "http://myserver/foo-schema.json", | |
| fileMatch: ["*"], | |
| schema: { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | 'use strict'; | |
| var React = require('react'); | |
| var ReactNative = require('react-native'); | |
| var {AppRegistry, Text, WebView, View, Dimensions} = ReactNative; | |
| var WebViewResizing = React.createClass({ | |
| getInitialState: function () { | |
| return { | |
| webViewHeight: 100 // default height, can be anything |