Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

examples/agent-workflow: run the agent with a real model behind an env flag

Aperta
#54 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
ai, payments

Direzione di ricerca

Start in examples/agent-workflow, where npm start picks the scriptedModel stand-in, and check how the task and source URLs are passed to the model. Add a branch that selects an OpenAI or Anthropic model through the AI SDK when OPENAI_API_KEY or ANTHROPIC_API_KEY is set, and keep the keyless path unchanged. Done when the README contains one real transcript, the hijacked mirror still gets zero authorizations under the real model, and CI runs only the keyless path.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement good first issue

examples/agent-workflow runs with scriptedModel, a stand-in for an LLM, so it needs no API key. It would help to show that nothing changes with a real model.

What: if OPENAI_API_KEY or ANTHROPIC_API_KEY is set, npm start uses that provider's model through the AI SDK (@ai-sdk/openai or @ai-sdk/anthropic) instead of scriptedModel; without a key it stays as it is. The model gets the task and the list of source URLs, and decides which to read.

Done when:

  • the README shows one real transcript;
  • the payments are the same as with the scripted model: the hijacked mirror still gets zero authorizations, whatever the model says;
  • CI keeps running the keyless path only.
Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
3h 51m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DeepFirstHQ/deepfirstsearch

Tutte le issue di DeepFirstHQ/deepfirstsearch

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.