Merge branch 'master' into matv

pull/5480/head
Joseph Izang 1 month ago committed by GitHub
commit 37601ffc36
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      apps/remix-ide/src/index.html
  2. 2
      apps/remixdesktop/README.md
  3. 2
      apps/remixdesktop/TEST.md
  4. 4
      apps/remixdesktop/src/lib/InferenceServerManager.ts
  5. 2
      apps/remixdesktop/src/menus/window.ts
  6. 4
      apps/vyper/src/app/utils/compiler.tsx
  7. 2
      apps/walletconnect/webpack.config.js
  8. 4
      libs/remix-ai-core/src/prompts/chat.ts
  9. 6
      libs/remix-debug/README.md

@ -26,7 +26,7 @@
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Remix - Ethereum IDE</title>
<link rel="stylesheet" href="assets/css/pygment_trac.css">
<link rel="icon" type="x-icon" href="assets/img/remix-logo-blue.png">
<link rel="icon" type="image/x-icon" href="assets/img/remix-logo-blue.png">
<link rel="stylesheet" href="assets/css/intro.js/4.1.0/introjs.min.css">
<link rel="stylesheet" href="assets/fontawesome/css/all.css">
<script src="assets/js/browserfs.min.js"></script>

@ -7,7 +7,7 @@
In the main repo yarn, then run yarn serve
In this directory apps/remixdesktop, yarn, then run: yarn start:dev to boot the electron app
Then app will be started in live reload mode, anything you do in Remix IDE will be reloaded.
Then, the app will be started in live reload mode, and anything you do in Remix IDE will be reloaded.
It will not however reload electron code. You need to rerun yarn start:dev every time.
If you run into issues with yarn when native node modules are being rebuilt you need

@ -11,7 +11,7 @@
Testing runs through nightwatch that treats an electron application as a special version of chrome, which it is. It basically calls the executable which is built by the ./rundist.bash script which creates executables based on the current channel configuration package.json, ie "version": "1.0.8-insiders"
Executables are stored in the ./release directory. Without that executable you cannot run tests. You cannot call tests on local development instance that is launched by yarn start:dev. You need to create an exec first.
Executables are stored in the ./release directory. Without that executable you cannot run tests. You cannot call tests on local development instance that is launched by yarn start:dev. You need to create an executable file first.
This is done by running ./rundist.bash

@ -60,7 +60,7 @@ export class InferenceManager implements ICompletions {
static getInstance(modelDir:string){
if (!InferenceManager.instance) {
// check if ther is a process already running
// check if there is a process already running
if (!modelDir) {
console.error('model directory is required to create InferenceManager instance')
return null
@ -156,7 +156,7 @@ export class InferenceManager implements ICompletions {
}
async _handleResources(logger:boolean=false) {
// check resrource usage
// check resource usage
const options = { headers: { 'Content-Type': 'application/json', } }
const res = await axios.get(this.inferenceURL+"/sys", options)

@ -15,7 +15,7 @@ export default (
type: 'separator'
},
{
// It's the same thing as clicking the green traffc-light on macOS
// It's the same thing as clicking the green traffic-light on macOS
role: 'zoom',
accelerator: commandKeys['window:zoom']
},

@ -178,7 +178,7 @@ export async function compileContract(contract: string, compilerUrl: string, set
} catch (e: any) {
const errorGettingContract: VyperCompilationError = {
status: 'failed',
message: e.mesaage,
message: e.message,
error_type: 'fetch_contract'
}
@ -230,7 +230,7 @@ export async function compileContract(contract: string, compilerUrl: string, set
const errorGettingContract: VyperCompilationError = {
status: 'failed',
message: err.mesaage,
message: err.message,
error_type: 'unknown_error'
}

@ -54,7 +54,7 @@ module.exports = composePlugins(withNx(), (config) => {
})
)
// souce-map loader
// source-map loader
config.module.rules.push({
test: /\.js$/,
use: ['source-map-loader'],

@ -3,12 +3,12 @@ import { ChatEntry } from "../types/types"
export abstract class ChatHistory{
private static chatEntries:ChatEntry[] = []
static queuSize:number = 7 // change the queue size wrt the GPU size
static queueSize:number = 7 // change the queue size wrt the GPU size
public static pushHistory(prompt, result){
const chat:ChatEntry = [prompt, result]
this.chatEntries.push(chat)
if (this.chatEntries.length > this.queuSize){this.chatEntries.shift()}
if (this.chatEntries.length > this.queueSize){this.chatEntries.shift()}
}
public static getHistory(){

@ -92,7 +92,7 @@ Some of the class details are as:
**BreakpointManager**
`constructor({ traceManager, callTree, solidityProxy, locationToRowConverter })` : create new instance
`constructor({ traceManager, callTree, solidityProxy, locationToRowConverter })` : create a new instance
`jumpNextBreakpoint(defaultToLimit)` : start looking for the next breakpoint
@ -112,7 +112,7 @@ Some of the class details are as:
**StorageViewer**
`constructor (_context, _storageResolver, _traceManager)` : create new instance
`constructor (_context, _storageResolver, _traceManager)` : create a new instance
`storageRange(defaultToLimit)` : return the storage for the current context (address and vm trace index)
@ -130,7 +130,7 @@ Some of the class details are as:
**StorageResolver**
`constructor (options)` : create new instance
`constructor (options)` : create a new instance
`storageRange(tx, stepIndex, address, callback)` : return the storage for the current context (address and vm trace index)

Loading…
Cancel
Save