Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/ee/src/core/entitlements/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Probe(BaseModel):
},
},
"features": [
"2 prompts",
"Unlimited prompts",
"20 evaluations/month",
"5k traces/month",
"2 seats",
Expand Down Expand Up @@ -212,7 +212,7 @@ class Probe(BaseModel):
},
Tracker.GAUGES: {
Gauge.USERS: Quota(limit=2, strict=True, free=2),
Gauge.APPLICATIONS: Quota(limit=2, strict=True, free=2),
Gauge.APPLICATIONS: Quota(strict=True),
},
},
Plan.CLOUD_V0_PRO: {
Expand Down
2 changes: 1 addition & 1 deletion api/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "api"
version = "0.60.1"
version = "0.60.2"
description = "Agenta API"
authors = [
{ name = "Mahmoud Mabrouk", email = "[email protected]" },
Expand Down
4 changes: 2 additions & 2 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ const config: Config = {
navbar: {
logo: {
alt: "agenta-ai",
src: "images/light-complete-transparent-CROPPED.png",
srcDark: "images/dark-complete-transparent-CROPPED.png",
src: "images/Agenta-logo-full-light.png",
srcDark: "images/Agenta-logo-full-dark-accent.png",
},
hideOnScroll: false,
items: [
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/static/images/Agenta-logo-full-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1 change: 0 additions & 1 deletion docs/static/images/dark-logo.svg

This file was deleted.

Binary file modified docs/static/images/favicon.ico
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion docs/static/images/light-logo.svg

This file was deleted.

Binary file modified docs/static/images/social-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "agenta"
version = "0.60.1"
version = "0.60.2"
description = "The SDK for agenta is an open-source LLMOps platform."
readme = "README.md"
authors = [
Expand Down
2 changes: 1 addition & 1 deletion web/ee/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agenta/ee",
"version": "0.60.1",
"version": "0.60.2",
"private": true,
"engines": {
"node": ">=18"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/ee/public/assets/Agenta-logo-full-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion web/ee/public/assets/dark-logo.svg

This file was deleted.

Binary file modified web/ee/public/assets/favicon.ico
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion web/ee/public/assets/light-logo.svg

This file was deleted.

2 changes: 1 addition & 1 deletion web/ee/src/components/PostSignupForm/PostSignupForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ const PostSignupForm = () => {
<>
<section className="w-[90%] flex items-center justify-between mx-auto mt-12 mb-5">
<Image
src="/assets/light-complete-transparent-CROPPED.png"
src="/assets/Agenta-logo-full-light.png"
alt="agenta-ai"
width={114}
height={40}
Expand Down
2 changes: 1 addition & 1 deletion web/ee/src/components/pages/settings/Billing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const Billing = () => {

<div className="w-full grid grid-cols-3 gap-4">
{Object.entries(usage)
?.filter(([key]) => key !== "users")
?.filter(([key]) => (key !== "users" && key !== "applications"))
?.map(([key, info]) => {
return (
<UsageProgressBar
Expand Down
35 changes: 33 additions & 2 deletions web/ee/src/lib/workers/evalRunner/pureEnrichment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,40 @@ export function buildAnnotationMap({
return map
}

/** Simple dot-path resolver ("a.b.c") */
/** Simple dot-path resolver ("a.b.c"). Supports literal keys that contain dots. */
export function resolvePath(obj: any, path: string): any {
return path.split(".").reduce((o: any, key: string) => (o ? o[key] : undefined), obj)
if (!obj || typeof obj !== "object" || !path) return undefined

const parts = path.split(".")
let current: any = obj

for (let i = 0; i < parts.length; i++) {
if (current === undefined || current === null) return undefined

const part = parts[i]

if (Object.prototype.hasOwnProperty.call(current, part)) {
current = current[part]
continue
}

let combined = part
let found = false

for (let j = i + 1; j < parts.length; j++) {
combined += `.${parts[j]}`
if (Object.prototype.hasOwnProperty.call(current, combined)) {
current = current[combined]
i = j
found = true
break
}
}

if (!found) return undefined
}

return current
}

export function computeInputsAndGroundTruth({
Expand Down
2 changes: 1 addition & 1 deletion web/oss/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@agenta/oss",
"version": "0.60.1",
"version": "0.60.2",
"private": true,
"engines": {
"node": ">=18"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/oss/public/assets/Agenta-logo-full-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion web/oss/public/assets/dark-logo.svg

This file was deleted.

Binary file modified web/oss/public/assets/favicon.ico
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion web/oss/public/assets/light-logo.svg

This file was deleted.

4 changes: 2 additions & 2 deletions web/oss/src/components/Logo/Logo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import Image from "next/image"
import {useAppTheme} from "../Layout/ThemeContextProvider"

const LOGOS = {
dark: "/assets/dark-complete-transparent-CROPPED.png",
light: "/assets/light-complete-transparent-CROPPED.png",
dark: "/assets/Agenta-logo-full-dark-accent.png",
light: "/assets/Agenta-logo-full-light.png",
}

const Logo: React.FC<Partial<React.ComponentProps<typeof Image>> & {isOnlyIconLogo?: boolean}> = (
Expand Down
11 changes: 10 additions & 1 deletion web/oss/src/components/TestsetTable/TestsetTable.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
// @ts-nocheck
import {type FC, type ChangeEvent, ReactNode, useEffect, useState, useMemo, useCallback} from "react"
import {
type FC,
type ChangeEvent,
ReactNode,
useEffect,
useState,
useMemo,
useCallback,
} from "react"

import {type IHeaderParams} from "@ag-grid-community/core"
import {CheckCircleFilled} from "@ant-design/icons"
Expand Down Expand Up @@ -409,6 +417,7 @@ const TestsetTable: FC<TestsetTableProps> = ({mode}) => {
onRowSelected={onRowSelectedOrDeselected}
onRowDataUpdated={onRowSelectedOrDeselected}
className="ph-no-capture"
suppressFieldDotNotation={true}
/>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const MaxAppModal: React.FC<Props> = ({...props}) => {
<section className="flex flex-col mt-4">
<div className={classes.image}>
<Image
src="/assets/dark-complete-transparent_white_logo.png"
src="/assets/Agenta-logo-full-dark-accent.png"
alt="aenta-ai"
width={226}
height={60}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {useTestsetsData} from "@/oss/state/testset"

import {useStyles} from "./assets/styles"
import {Mapping, Preview, TestsetColumn, TestsetDrawerProps, TestsetTraceData} from "./assets/types"
import {getValueAtPath} from "./assets/helpers"

const TestsetDrawer = ({
onClose,
Expand Down Expand Up @@ -357,8 +358,7 @@ const TestsetDrawer = ({
continue // Skip duplicate columns for now
}

const keys = mapping.data.split(".")
const value = keys.reduce((acc: any, key) => acc?.[key], item)
const value = getValueAtPath(item, mapping.data)

formattedItem[targetKey] =
value === undefined || value === null
Expand Down
Loading
Loading