warning fixes

pull/4304/head
lianahus 11 months ago committed by yann300
parent e40bc472c6
commit b5b050f577
  1. 4
      apps/remix-ide/src/app/plugins/copilot/suggestion-service/copilot-suggestion.ts
  2. 2
      libs/remix-ui/terminal/src/lib/terminalWelcome.tsx

@ -50,8 +50,8 @@ export class CopilotSuggestion extends Plugin {
const options: SuggestOptions = {
do_sample: false,
top_k: 0,
temperature,
max_new_tokens
temperature: max_new_tokens || 0,
max_new_tokens: temperature || 0
}
return this.service.suggest(this.context ? this.context + '\n\n' + content : content, options)
}

@ -54,7 +54,7 @@ const TerminalWelcomeMessage = ({packageJson, storage}) => {
ethers.js
</a>{' '}
</li>
<li key="ethers-console">
<li key="gpt">
gpt <i>&lt;your question here&gt;</i> {' '}
</li>
</ul>

Loading…
Cancel
Save