File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,9 +12,14 @@ interface BreadcrumbProps {
1212}
1313
1414export const Breadcrumb : React . FC < BreadcrumbProps > = React . memo ( ( { items } ) => {
15+ const baseUrl = process . env . RUNLOOP_BASE_URL ;
16+ const isDevEnvironment = baseUrl && baseUrl !== 'https://api.runloop.ai' ;
17+
1518 return (
1619 < Box marginBottom = { 1 } paddingX = { 1 } paddingY = { 0 } >
17- < Text color = "green" dimColor bold > RL </ Text >
20+ < Text color = "green" dimColor bold > RL</ Text >
21+ { isDevEnvironment && < Text color = "redBright" bold > (dev)</ Text > }
22+ < Text > </ Text >
1823 < Text color = "gray" dimColor > { figures . arrowRight } </ Text >
1924 { items . map ( ( item , index ) => (
2025 < React . Fragment key = { index } >
Original file line number Diff line number Diff line change @@ -10,5 +10,7 @@ export function getClient(): Runloop {
1010
1111 return new Runloop ( {
1212 bearerToken : config . apiKey ,
13+ timeout : 10000 , // 10 seconds instead of default 30 seconds
14+ maxRetries : 2 , // 2 retries instead of default 5 (only for retryable errors)
1315 } ) ;
1416}
You can’t perform that action at this time.
0 commit comments