Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate Formula with AI #1068

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from
Draft

Generate Formula with AI #1068

wants to merge 9 commits into from

Conversation

mayneyao
Copy link
Collaborator

@mayneyao mayneyao commented Nov 8, 2024

Screen.Recording.2024-11-08.at.14.48.59.mov

@CLAassistant
Copy link

CLAassistant commented Nov 8, 2024

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 11737718778

Details

  • 32 of 48 (66.67%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 84.463%

Changes Missing Coverage Covered Lines Changed/Added Lines %
apps/nestjs-backend/src/features/ai/ai.controller.ts 9 13 69.23%
apps/nestjs-backend/src/features/ai/ai.service.ts 10 22 45.45%
Totals Coverage Status
Change from base Build 11722033426: -0.02%
Covered Lines: 38907
Relevant Lines: 46064

💛 - Coveralls

@mayneyao mayneyao marked this pull request as draft November 8, 2024 08:14
@@ -15,12 +15,27 @@ type GetServerSideProps<
D extends PreviewData = PreviewData,
> = (context: GetServerSidePropsContext<Q, D>) => Promise<GetServerSidePropsResult<P>>;

async function fetchPublicConfig(context?: GetServerSidePropsContext) {
try {
const protocol = process.env.NODE_ENV === 'development' ? 'http' : 'https';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use axios from apps/nextjs-app/src/backend/api/rest/axios.ts
it design to handle internal request

tea-artist
tea-artist previously approved these changes Nov 11, 2024
@@ -31,6 +46,7 @@ export default function withEnv<P extends { [key: string]: any }>(
sentryDsn: process.env.SENTRY_DSN,
socialAuthProviders: process.env.SOCIAL_AUTH_PROVIDERS?.split(','),
storagePrefix: process.env.STORAGE_PREFIX,
globalSettings: publicConfig,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's just ssr, it doesn't need to be defined here.

@tea-artist
Copy link
Contributor

request progress 🥹

@mayneyao
Copy link
Collaborator Author

request progress 🥹

soon🤓

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants