Skip to content

Commit

Permalink
Merge pull request #652 from airtai/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje authored Aug 21, 2024
2 parents 7497602 + 5e69174 commit 8046e4a
Show file tree
Hide file tree
Showing 74 changed files with 4,510 additions and 6,325 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ updates:
schedule:
interval: "weekly"
# Pnpm
- package-ecosystem: "pnpm"
- package-ecosystem: "npm"
directory: "/auth_callout"
schedule:
interval: "weekly"
5 changes: 0 additions & 5 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
environment: testing
use-llms: "anthropic"
secrets: inherit # pragma: allowlist secret
needs:
Expand All @@ -67,7 +66,6 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
environment: testing
use-llms: "azure_oai"
secrets: inherit # pragma: allowlist secret
needs:
Expand All @@ -77,7 +75,6 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
environment: testing
use-llms: "openai"
secrets: inherit # pragma: allowlist secret
needs:
Expand All @@ -87,7 +84,6 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
environment: testing
use-llms: "togetherai"
secrets: inherit # pragma: allowlist secret
needs:
Expand All @@ -97,7 +93,6 @@ jobs:
uses: ./.github/workflows/test.yaml
with:
python-version: "3.9"
environment: testing
use-llms: "llm"
secrets: inherit # pragma: allowlist secret
needs:
Expand Down
20 changes: 10 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,16 @@ repos:
require_serial: true
verbose: true

- repo: local
hooks:
- id: docs
name: Build docs
entry: "scripts/build-docs-pre-commit.sh"
language: python
# language_version: python3.9
files: ^docs
require_serial: true
verbose: true
# - repo: local
# hooks:
# - id: docs
# name: Build docs
# entry: "scripts/build-docs-pre-commit.sh"
# language: python
# # language_version: python3.9
# files: ^docs
# require_serial: true
# verbose: true

- repo: https://github.com/Yelp/detect-secrets
rev: v1.5.0
Expand Down
32 changes: 6 additions & 26 deletions app/main.wasp
Original file line number Diff line number Diff line change
Expand Up @@ -78,36 +78,11 @@ page PlayGroundPage {
component: import PlayGroundPageWithCustomAuth from "@src/client/app/PlayGroundPage"
}

route BuildRoute { path: "/build/:id?", to: BuildPage }
route BuildRoute { path: "/build/:type?", to: BuildPage }
page BuildPage {
component: import BuildPageWithCustomAuth from "@src/client/app/BuildPage"
}

route SecretsRoute { path: "/build/secrets", to: SecretsPage }
page SecretsPage {
component: import BuildPageWithCustomAuth from "@src/client/app/BuildPage"
}

route ToolBoxRoute { path: "/build/toolboxes", to: ToolBoxPage }
page ToolBoxPage {
component: import BuildPageWithCustomAuth from "@src/client/app/BuildPage"
}

route LLMsRoute { path: "/build/llms", to: LLMsPage }
page LLMsPage {
component: import BuildPageWithCustomAuth from "@src/client/app/BuildPage"
}

route TeamsRoute { path: "/build/teams", to: TeamsPage }
page TeamsPage {
component: import BuildPageWithCustomAuth from "@src/client/app/BuildPage"
}

route AgentsRoute { path: "/build/agents", to: AgentsPage }
page AgentsPage {
component: import BuildPageWithCustomAuth from "@src/client/app/BuildPage"
}

route LoginRoute { path: "/login", to: LoginPage }
page LoginPage {
component: import Login from "@src/client/auth/LoginPage"
Expand Down Expand Up @@ -305,6 +280,11 @@ action userModelSetup {

// 📚 Queries

query getSchema {
fn: import { getSchema } from "@src/server/queries.js",
entities: []
}

query getDailyStats {
fn: import { getDailyStats } from "@src/server/queries.js",
entities: [User, DailyStats]
Expand Down
Loading

0 comments on commit 8046e4a

Please sign in to comment.