Skip to content

Commit

Permalink
fix typos ahead of relesae
Browse files Browse the repository at this point in the history
  • Loading branch information
arielweinberger committed Aug 4, 2023
1 parent 85a662f commit 94cdc20
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/console/src/app/components/requests/RequestDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export const RequestDetails = (props: Props) => {
];

return (
<div>
<>
{props.metadata?.isTestPrompt && (
<Alert
type="info"
Expand All @@ -158,6 +158,6 @@ export const RequestDetails = (props: Props) => {
{selectedMode === "chat" && (
<RequestResponseChatView request={request} response={response} />
)}
</div>
</>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export const AddFilterForm = ({
value: formValues.value,
};

console.log("value", filterValue);
onAdd(filterValue);
form.resetFields();
};
Expand Down
1 change: 0 additions & 1 deletion apps/server/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ const GQL_SCHEMA_PATH = join(process.cwd(), "apps/server/src/schema.graphql");
playground: false,
autoSchemaFile: GQL_SCHEMA_PATH,
sortSchema: true,

plugins: [ApolloServerPluginLandingPageLocalDefault()],
context: (ctx) => {
ctx.requestId = ctx.req.headers["x-request-id"] || randomUUID();
Expand Down
2 changes: 1 addition & 1 deletion apps/server/src/app/prompt-tester/prompt-tester.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class PromptTesterService {
metadata: {
promptId: testData.promptId,
promptVersionSha: "test-prompt",
type: "Propmt" as any,
type: "Prompt" as any,
isTestPrompt: true,
},
settings: testData.settings,
Expand Down
2 changes: 2 additions & 0 deletions apps/server/src/app/reporting/requests.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export class RequestReportsResolver {
sort: data.sort,
});

console.log("response", response);

return {
data: response.body.hits.hits.map((hit) => hit._source),
pagination: {
Expand Down
2 changes: 1 addition & 1 deletion examples/simple-demo-app/app/api/facts/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export async function POST(request: Request) {
let prompt: GetPromptResult;

try {
prompt = await pezzo.getPrompt("FactGenerator");
prompt = await pezzo.getPrompt("GenerateFacts");
} catch (error) {
console.log("Failed to fetch prompt from Pezzo", error);
return NextResponse.json(
Expand Down
2 changes: 1 addition & 1 deletion libs/client/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@pezzo/client",
"description": "TypeScript API client for Pezzo",
"version": "0.2.3",
"version": "0.3.1-alpha-1",
"type": "commonjs",
"author": "Ariel Weinberger",
"keywords": [
Expand Down

0 comments on commit 94cdc20

Please sign in to comment.