Skip to content

Commit

Permalink
[ez] Move AIConfigContext into a contexts folder (#913)
Browse files Browse the repository at this point in the history
[ez] Move AIConfigContext into a `contexts` folder

No functional changes. I think this will be a bit cleaner when we make a
READ-ONLY mode because I'm going to use a context for that too and
better to keep these files together

---
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with
[ReviewStack](https://reviewstack.dev/lastmile-ai/aiconfig/pull/913).
* #916
* __->__ #913
  • Loading branch information
rossdanlm authored Jan 15, 2024
2 parents 0888fc3 + c11fa7b commit 8e8aacc
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import {
import { debounce, uniqueId } from "lodash";
import PromptMenuButton from "./prompt/PromptMenuButton";
import GlobalParametersContainer from "./GlobalParametersContainer";
import AIConfigContext from "./AIConfigContext";
import AIConfigContext from "../contexts/AIConfigContext";
import ConfigNameDescription from "./ConfigNameDescription";
import {
AUTOSAVE_INTERVAL_MS,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TextInput } from "@mantine/core";
import { ChangeEvent, memo, useContext, useState } from "react";
import AIConfigContext from "../AIConfigContext";
import AIConfigContext from "../../contexts/AIConfigContext";

type Props = {
promptId: string;
Expand Down
20 changes: 10 additions & 10 deletions python/src/aiconfig/editor/client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1289,17 +1289,17 @@
enabled "2.0.x"
kuler "^2.0.0"

"@datadog/browser-core@5.6.0":
version "5.6.0"
resolved "https://registry.yarnpkg.com/@datadog/browser-core/-/browser-core-5.6.0.tgz#f7a0d809afede4520bb4786886b4648c0e1b890d"
integrity sha512-z6CvlJyEFbYNw2ZawY9fDHQjdl71yp0OcchvB/S4SGKdQVLPUd48Y528gv132VDnY2g0UipE9JK59wnAamyS9w==
"@datadog/browser-core@5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@datadog/browser-core/-/browser-core-5.7.0.tgz#ae8cd791626e928a82dfdfb3ccea88778323ddb8"
integrity sha512-rNUe3s5XD+9UUe/muYuh/UJzb0YXTRwSP1VevMRZmEpNgkBhurWjqjm3LQphYXMYsmQIgvqDPWm05Z+jOxTzRw==

"@datadog/browser-logs@^5.6.0":
version "5.6.0"
resolved "https://registry.yarnpkg.com/@datadog/browser-logs/-/browser-logs-5.6.0.tgz#2b4b62d87a315560e87d46f84504012f7b7bdecd"
integrity sha512-NyqkG+UfAgz86CbEbSrAlDR5GvjJHAUwaI38xo9JR+9O5KJkwMgRnvQBtmdmpjjm723yyWeDcTd+ZIdvgIP61g==
"@datadog/browser-logs@^5.7.0":
version "5.7.0"
resolved "https://registry.yarnpkg.com/@datadog/browser-logs/-/browser-logs-5.7.0.tgz#6ae1cc4e1ec6634af9f52cf969da14400a4c3dec"
integrity sha512-pep6LkM2mBq+q3HEO72/qCIDImWKo+PuO3nHQLC2Ew+H5A1qWReWV6MfFQ5k3J9z0QR/nPhEewN7kaC1i0OvUg==
dependencies:
"@datadog/browser-core" "5.6.0"
"@datadog/browser-core" "5.7.0"

"@emotion/babel-plugin@^11.11.0":
version "11.11.0"
Expand Down Expand Up @@ -3167,7 +3167,7 @@ agentkeepalive@^4.2.1:
humanize-ms "^1.2.1"

aiconfig@../../../../../typescript:
version "1.1.3"
version "1.1.5"
dependencies:
"@google-ai/generativelanguage" "^1.1.0"
"@huggingface/inference" "^2.6.4"
Expand Down

0 comments on commit 8e8aacc

Please sign in to comment.