File tree Expand file tree Collapse file tree 3 files changed +214
-95
lines changed Expand file tree Collapse file tree 3 files changed +214
-95
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ export const useSearchAndInstallAsset = ({
3434 return {
3535 searchAndInstallAsset : React . useCallback (
3636 async ( {
37- scene ,
37+ objectsContainer ,
3838 objectName,
3939 ...assetSearchOptions
4040 } : AssetSearchAndInstallOptions ) : Promise < AssetSearchAndInstallResult > => {
@@ -63,7 +63,7 @@ export const useSearchAndInstallAsset = ({
6363
6464 const installOutput = await installAsset ( {
6565 assetShortHeader,
66- objectsContainer : scene . getObjects ( ) ,
66+ objectsContainer,
6767 requestedObjectName : objectName ,
6868 } ) ;
6969
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ import { AiRequestContext } from './AiRequestContext';
2828import PreferencesContext from '../MainFrame/Preferences/PreferencesContext' ;
2929import { useInterval } from '../Utils/UseInterval' ;
3030
31- export const AI_AGENT_TOOLS_VERSION = 'v6 ' ;
32- export const AI_CHAT_TOOLS_VERSION = 'v6 ' ;
31+ export const AI_AGENT_TOOLS_VERSION = 'v7 ' ;
32+ export const AI_CHAT_TOOLS_VERSION = 'v7 ' ;
3333
3434export const useProcessFunctionCalls = ( {
3535 i18n,
You can’t perform that action at this time.
0 commit comments