Skip to content

Error after creating AI Agent #5625

Description

@SoLexGrowth

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

I have created an Ai agent but when i try to run or download the apk it keeps getting into error

lib/backend/ai_agents/ai_agent_cloud_function_call.dart:1:8: Error: Error when reading 'dependencies/ff_commons/lib/flutter_flow/cloud_functions.dart': No such file or directory import 'package:ff_commons/flutter_flow/cloud_functions.dart'; ^ lib/backend/ai_agents/ai_agent_cloud_function_call.dart:114:26: Error: Method not found: 'makeCloudCall'. final result = await makeCloudCall(agentName, { ^^^^^^^^^^^^^ Target kernel_snapshot_program failed: Exception

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command '/sdks/flutter/bin/flutter'' finished with non-zero exit value 1

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org.

BUILD FAILED in 2m 37s Gradle task assembleRelease failed with exit code 1

Expected Behavior

Download apk or run app without error

Steps to Reproduce

Create ai agent and try to run the app

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITEekM/l25J2n7wC0bX2YccxqwMxQUQ5a50rlu1FGA8bGI+sPIk2ZPfuaXdCcNeLfW9mJ02kkk8EpOCPuIaSJ/ddZDSaQL1607t2VwqXIWS5RpSLPYeKVkclP/tPG0zG1rWRnh1SJtpqL2QM72GHcq3qNleeY8aSfxBlZ7vfcPo=

Visual documentation

Please is not working

Environment

- FlutterFlow version: 
- Platform:
- Browser name and version:
- Operating system and version affected:

Additional Information

No response

Metadata

Metadata

Assignees

Labels

status: confirmedIssue has been reproduced and confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions