Skip to content

Commit

Permalink
Merge pull request #196 from voideditor/model-selection
Browse files Browse the repository at this point in the history
misc necessary updates
  • Loading branch information
andrewpareles authored Jan 3, 2025
2 parents 6feb713 + 2087948 commit b0d21df
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Alternatively, if you want to build Void from the terminal, instead of pressing
- Make sure you follow the prerequisite steps.
- Make sure you have the same NodeJS version as `.nvmrc`.
- Make sure your `npm run watchreact` is running if you change any React files, or else you'll need to re-build.
- If you see missing styles, go to `src2/styles.css` and re-save the file.
- If you get `"TypeError: Failed to fetch dynamically imported module: vscode-file://vscode-app/.../workbench.desktop.main.js", source: file:///.../bootstrap-window.js`, make sure all imports end with `.js`.
- If you have any questions, feel free to [submit an issue](https://github.com/voideditor/void/issues/new). For building questions, you can also refer to VSCode's full [How to Contribute](https://github.com/microsoft/vscode/wiki/How-to-Contribute) page.

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "void-dev",
"productName": "Void",
"version": "1.0.0",
"version": "1.94.0",
"distro": "this is a commit number if we want to publish on npm",
"author": {
"name": "Glass Devtools, Inc."
Expand Down
3 changes: 3 additions & 0 deletions src/vs/workbench/contrib/void/browser/inlineDiffsService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,9 @@ class InlineDiffsService extends Disposable implements IInlineDiffsService {
onFinishEdit()
}

// refresh now in case onText takes a while to get 1st message
this._refreshStylesAndDiffsInURI(uri)

streamRequestIdRef.current = this._llmMessageService.sendLLMMessage({
featureName,
logging: { loggingName: `startApplying - ${featureName}` },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ export const Settings = () => {
<button className={`text-left p-1 px-3 my-0.5 rounded-sm overflow-hidden ${tab === 'models' ? 'bg-black/10 dark:bg-gray-200/10' : ''} hover:bg-black/10 hover:dark:bg-gray-200/10 active:bg-black/10 active:dark:bg-gray-200/10 `}
onClick={() => { setTab('models') }}
>Models</button>
<button className={`text-left p-1 px-3 my-0.5 rounded-sm overflow-hidden ${tab === 'features' ? 'bg-black/10 dark:bg-gray-200/10' : ''} hover:bg-black/10 hover:dark:bg-gray-200/10 active:bg-black/10 active:dark:bg-gray-200/10 `}
{/* <button className={`text-left p-1 px-3 my-0.5 rounded-sm overflow-hidden ${tab === 'features' ? 'bg-black/10 dark:bg-gray-200/10' : ''} hover:bg-black/10 hover:dark:bg-gray-200/10 active:bg-black/10 active:dark:bg-gray-200/10 `}
onClick={() => { setTab('features') }}
>Features</button>
>Features</button> */}
</div>

{/* separator */}
Expand Down

0 comments on commit b0d21df

Please sign in to comment.