Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasdavis committed Sep 3, 2024
1 parent e6faf07 commit 40b46fe
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/registry/pages/api/letter.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default async function handler(req, res) {

const gpt = new ChatGPTAPI({
apiKey: process.env.OPENAI_API_KEY,
model: 'gpt-4o',
model: 'gpt-4o-2024-08-06',
completionParams: {
temperature: 0.85,
},
Expand Down
2 changes: 1 addition & 1 deletion apps/registry/pages/api/suggestions-beta.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default async function handler(req, res) {
];

const chat = await openai.chat.completions.create({
model: 'gpt-4o',
model: 'gpt-4o-2024-08-06',
temperature: 0.7,
messages,
functions,
Expand Down
2 changes: 1 addition & 1 deletion apps/registry/pages/api/suggestions.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default async function handler(req, res) {
];

const chat = await openai.chat.completions.create({
model: 'gpt-4o',
model: 'gpt-4o-2024-08-06',
temperature: 0.85,
messages,
});
Expand Down
2 changes: 1 addition & 1 deletion apps/registry/scripts/jobs/gpted.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ async function main() {
];
if (!job.gpt_content) {
const chat = await openai.chat.completions.create({
model: 'gpt-4o',
model: 'gpt-4o-2024-08-06',
temperature: 0.8,
messages,
functions: [
Expand Down
2 changes: 1 addition & 1 deletion apps/registry/scripts/jobs/hackernews.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const supabaseKey = process.env.SUPABASE_KEY;
const supabase = createClient(supabaseUrl, supabaseKey);

const HN_API = 'https://hn.algolia.com/api/v1/items/';
const WHO_IS_HIRING_ITEM_ID = 41129813;
const WHO_IS_HIRING_ITEM_ID = 41425910;

async function main() {
const response = await axios.get(`${HN_API}${WHO_IS_HIRING_ITEM_ID}`);
Expand Down

0 comments on commit 40b46fe

Please sign in to comment.