fix(logs): show block inputs (#1979)

* Fix executor lgos block inputs

* Fix Comment
This commit is contained in:
Siddharth Ganesan
2025-11-13 19:07:53 -08:00
committed by GitHub
parent 67d9343022
commit dab70a8f1d
2 changed files with 7 additions and 2 deletions

View File

@@ -72,6 +72,9 @@ export class BlockExecutor {
try {
resolvedInputs = this.resolver.resolveInputs(ctx, node.id, block.config.params, block)
if (blockLog) {
blockLog.input = resolvedInputs
}
} catch (error) {
cleanupSelfReference?.()
return this.handleBlockError(

View File

@@ -1,7 +1,7 @@
/**
* Environment utility functions for consistent environment detection across the application
*/
import { env, isTruthy } from './env'
import { env, getEnv, isTruthy } from './env'
/**
* Is the application running in production mode
@@ -21,7 +21,9 @@ export const isTest = env.NODE_ENV === 'test'
/**
* Is this the hosted version of the application
*/
export const isHosted = true
export const isHosted =
getEnv('NEXT_PUBLIC_APP_URL') === 'https://www.sim.ai' ||
getEnv('NEXT_PUBLIC_APP_URL') === 'https://www.staging.sim.ai'
/**
* Is billing enforcement enabled