Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions newIDE/app/src/AiGeneration/UseSearchAndInstallAsset.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const useSearchAndInstallAsset = ({
return {
searchAndInstallAsset: React.useCallback(
async ({
scene,
objectsContainer,
objectName,
...assetSearchOptions
}: AssetSearchAndInstallOptions): Promise<AssetSearchAndInstallResult> => {
Expand Down Expand Up @@ -63,7 +63,7 @@ export const useSearchAndInstallAsset = ({

const installOutput = await installAsset({
assetShortHeader,
objectsContainer: scene.getObjects(),
objectsContainer,
requestedObjectName: objectName,
});

Expand Down
4 changes: 2 additions & 2 deletions newIDE/app/src/AiGeneration/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import { AiRequestContext } from './AiRequestContext';
import PreferencesContext from '../MainFrame/Preferences/PreferencesContext';
import { useInterval } from '../Utils/UseInterval';

export const AI_AGENT_TOOLS_VERSION = 'v6';
export const AI_CHAT_TOOLS_VERSION = 'v6';
export const AI_AGENT_TOOLS_VERSION = 'v7';
export const AI_CHAT_TOOLS_VERSION = 'v7';

export const useProcessFunctionCalls = ({
i18n,
Expand Down
Loading