Skip to content

Commit

Permalink
fixed dynamically imported service file path
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Jun 7, 2024
1 parent 3ebcf6c commit c5de6f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import {dynamicComponent, dynamicService} from "@/lib/helpers/dynamic"
const PromptVersioningDrawer: any = dynamicComponent(
`PromptVersioningDrawer/PromptVersioningDrawer`,
)
const promptVersioning: any = dynamicService("promptVersioning")
const promptVersioning: any = dynamicService("promptVersioning/api")

interface Props {
variant: Variant
Expand Down
2 changes: 1 addition & 1 deletion agenta-web/src/components/Playground/Views/TestView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import {useQueryParam} from "@/hooks/useQuery"
import {formatCurrency, formatLatency, formatTokenUsage} from "@/lib/helpers/formatters"
import {dynamicService} from "@/lib/helpers/dynamic"

const promptRevision: any = dynamicService("promptVersioning")
const promptRevision: any = dynamicService("promptVersioning/api")

dayjs.extend(relativeTime)
dayjs.extend(duration)
Expand Down

0 comments on commit c5de6f7

Please sign in to comment.