Skip to content

Commit f99be3c

Browse files
authored
Merge branch 'master' into refactor/learneth-plugin
2 parents a20f94e + f1f2201 commit f99be3c

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
Everyone is welcome to contribute to Remix's codebase and please join our [Discord](https://discord.gg/hEUgg24WhH).
3+
Everyone is welcome to contribute to Remix's codebase and please join our [Discord](https://discord.gg/KhDtC8mGqx).
44

55
## Development
66
Remix libraries work closely with [Remix IDE](https://remix.ethereum.org). Each library has a README to explain its application.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
[![GitHub contributors](https://img.shields.io/github/contributors/ethereum/remix-project?style=flat&logo=github)](https://github.com/ethereum/remix-project/graphs/contributors)
1313
[![Awesome Remix](https://img.shields.io/badge/Awesome--Remix-resources-green?logo=awesomelists)](https://github.com/ethereum/awesome-remix)
1414
[![GitHub](https://img.shields.io/github/license/ethereum/remix-project)](https://github.com/ethereum/remix-project/blob/master/LICENSE)
15-
[![Discord](https://img.shields.io/badge/join-discord-brightgreen.svg?style=flat&logo=discord)](https://discord.gg/hEUgg24WhH)
15+
[![Discord](https://img.shields.io/badge/join-discord-brightgreen.svg?style=flat&logo=discord)](https://discord.gg/KhDtC8mGqx)
1616
[![X Follow](https://img.shields.io/twitter/follow/ethereumremix?style=flat&logo=x&color=green)](https://x.com/ethereumremix)
1717

1818
</div>
@@ -267,4 +267,4 @@ parameters:
267267
- Curated list of Remix resources: https://github.com/ethereum/awesome-remix
268268
- Medium: https://medium.com/remix-ide
269269
- X: https://x.com/ethereumremix
270-
- Join Discord: https://discord.gg/hEUgg24WhH
270+
- Join Discord: https://discord.gg/KhDtC8mGqx

apps/remixdesktop/src/lib/InferenceServerManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -510,12 +510,12 @@ export class InferenceManager implements ICompletions {
510510
console.log('model not ready yet')
511511
return
512512
}
513-
params.chatHistory = params.provider === 'anthropic' ? buildChatPrompt(prompt) : []
513+
params.chatHistory = params.provider === 'anthropic' ? buildChatPrompt() : []
514514

515515
if (params.stream_result) {
516516
return this._streamInferenceRequest('answer', { prompt:userPrompt, ...params })
517517
} else {
518-
return this._makeInferenceRequest('answer', { prompt, ...params }, AIRequestType.GENERAL)
518+
return this._makeInferenceRequest('answer', { prompt: userPrompt, ...params }, AIRequestType.GENERAL)
519519
}
520520
}
521521

apps/remixdesktop/yarn.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
optionalDependencies:
7575
global-agent "^3.0.0"
7676

77-
"@electron/node-gyp@git+https://github.com/electron/node-gyp.git#06b29aafb7708acef8b3669835c8a7857ebc92d2":
77+
"@electron/node-gyp@https://github.com/electron/node-gyp#06b29aafb7708acef8b3669835c8a7857ebc92d2":
7878
version "10.2.0-electron.1"
79-
resolved "git+https://github.com/electron/node-gyp.git#06b29aafb7708acef8b3669835c8a7857ebc92d2"
79+
resolved "https://github.com/electron/node-gyp#06b29aafb7708acef8b3669835c8a7857ebc92d2"
8080
dependencies:
8181
env-paths "^2.2.0"
8282
exponential-backoff "^3.1.1"

libs/remix-ai-core/src/inferencers/local/ollama.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from 'axios';
22

3-
const _paq = (window._paq = window._paq || [])
3+
const _paq = (typeof window !== 'undefined' && (window as any)._paq) ? (window as any)._paq : []
44

55
// default Ollama ports to check (11434 is the legacy/standard port)
66
const OLLAMA_PORTS = [11434, 11435, 11436];

libs/remix-ai-core/src/inferencers/local/ollamaInferencer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
import axios from "axios";
2020
import { RemoteInferencer } from "../remote/remoteInference";
2121

22-
const _paq = (window._paq = window._paq || [])
22+
const _paq = (typeof window !== 'undefined' && (window as any)._paq) ? (window as any)._paq : []
2323
const defaultErrorMessage = `Unable to get a response from Ollama server`;
2424

2525
export class OllamaInferencer extends RemoteInferencer implements ICompletions, IGeneration {

libs/remix-ui/editor/src/lib/remix-ui-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export const EditorUI = (props: EditorUIProps) => {
182182
\t\t\t\t\t\t\t\t${intl.formatMessage({ id: 'editor.importantLinks.text1' })}: https://remix-project.org/\n
183183
\t\t\t\t\t\t\t\t${intl.formatMessage({ id: 'editor.importantLinks.text2' })}: https://remix-ide.readthedocs.io/en/latest/\n
184184
\t\t\t\t\t\t\t\tGithub: https://github.com/ethereum/remix-project\n
185-
\t\t\t\t\t\t\t\tDiscord: https://discord.gg/hEUgg24WhH\n
185+
\t\t\t\t\t\t\t\tDiscord: https://discord.gg/KhDtC8mGqx\n
186186
\t\t\t\t\t\t\t\tMedium: https://medium.com/remix-ide\n
187187
\t\t\t\t\t\t\t\tX: https://x.com/ethereumremix\n
188188
`

libs/remix-ui/home-tab/src/lib/components/homeTabTitle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const iconButtons: HometabIconSection[] = [
4747
{
4848
textToolip: <FormattedMessage id="home.joinUsOnDiscord" />,
4949
matomoTrackingEntry: ['trackEvent', 'hometab', 'titleCard', 'discord'],
50-
urlLink: 'https://discord.gg/hEUgg24WhH',
50+
urlLink: 'https://discord.gg/KhDtC8mGqx',
5151
iconClass: 'fa-discord',
5252
placement: 'top'
5353
}

libs/remix-ui/run-tab/src/lib/components/account.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ export function AccountUI(props: AccountProps) {
332332
<FormattedMessage id="udapp.enterAMessageToSign" />
333333
<textarea
334334
id="prompt_text"
335-
className="bg-light text-light form-control"
335+
className="bg-light form-control"
336336
data-id="signMessageTextarea"
337337
style={{ width: '100%' }}
338338
rows={4}

team-best-practices.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Related links:
2020
- Remix-debug NPM module: https://www.npmjs.com/package/@remix-project/remix-debug
2121
- Remix-tests NPM module: https://www.npmjs.com/package/@remix-project/remix-tests
2222
- Remix documentation: http://remix-ide.readthedocs.io/en/latest/
23-
- Discord: https://discord.gg/hEUgg24WhH
23+
- Discord: https://discord.gg/KhDtC8mGqx
2424

2525
---
2626

0 commit comments

Comments
 (0)