This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| instruction: | |
| description: > | |
| I want to schedule tasks in Todoist app based on given schedule. Create CSV file to import. | |
| startDate: 14 July 2025 | |
| requirements: | | |
| - Use natural language to describe dates that Todoist can undestand | |
| - Do not specify time for tasks, just dates | |
| - Do not duplicate tasks, use reccuring dates like every day, starting aug 3, ending aug 3 etc. | |
| columns: | |
| - TYPE: must be set to "task" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /Users/dikamilo/.nvm/versions/node/v20.11.1/bin/npm run agent-phone | |
| > [email protected] agent-phone | |
| > bun run src/agents/phone/app.ts | |
| 2025-06-09 16:06:43.546 INFO ⚙️ Initializing... | |
| 2025-06-09 16:06:43.547 INFO ⚙️ Loading facts... | |
| 2025-06-09 16:06:43.549 INFO ⚙️ Retrieving questions and transcriptions... | |
| 2025-06-09 16:06:43.549 INFO 🫡 Retrieving questions from: https://c3ntrala.ag3nts.org/data/<<REDACTED>>/phone_questions.json | |
| 2025-06-09 16:06:43.715 INFO 🫡 Retrieving data from: https://c3ntrala.ag3nts.org/data/<<REDACTED>>/phone_sorted.json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { AgentService } from './agent.service' | |
| const agentKey = process.env.AI_DEVS_PRIVATE_KEY as string | |
| const agentService = new AgentService(agentKey) | |
| await agentService.initialize() | |
| await agentService.process() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { readdir } from 'fs/promises' | |
| import { promises as fs } from 'node:fs' | |
| import { join } from 'path' | |
| import { HeadquartersService, ReportResponse } from '@core/headquarters' | |
| import { logger } from '@core/logger' | |
| import { OpenAIModel, OpenAIService } from '@core/openai' | |
| import { extractResultTag } from '@core/text' | |
| import { questionSystemPrompt } from './agent.prompt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { PhoneTranscription } from '@core/headquarters' | |
| import { AnsweredHeadquartersQuestion } from '../factory-infiltration/types' | |
| export const questionSystemPrompt = ( | |
| facts: string[], | |
| transcription: PhoneTranscription, | |
| answered: AnsweredHeadquartersQuestion[] | |
| ) => ` | |
| Bazując na <facts> oraz <transcriptions> odpowiedz na pytanie użytkownika lub zdecytuj o dodatkowej akcji. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Redux from 'redux'; | |
| console.clear(); | |
| // Action creators | |
| const createPolicy = (name, amount) => { | |
| return { | |
| type: 'CREATE_POLICY', | |
| payload: { |