Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add writer agent that support specific APIs #58

Merged
merged 2 commits into from
Apr 20, 2024
Merged

Add writer agent that support specific APIs #58

merged 2 commits into from
Apr 20, 2024

Conversation

miurla
Copy link
Owner

@miurla miurla commented Apr 20, 2024

Add an agent that only output the final answer text, without tools or JSON output.
If set, modify so that the specified agent provides the final answer.
Allow specifying an OpenAI-compatible API via environment variables.

The LLAMA3 model of the Groq API is verified.

Environment variables for specifying the Groq API:

USE_SPECIFIC_API_FOR_WRITER=true
SPECIFIC_API_BASE=https://api.groq.com/openai/v1
SPECIFIC_API_KEY=gsk_xxx
SPECIFIC_API_MODEL=llama3-70b-8192

Copy link

vercel bot commented Apr 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
morphic ✅ Ready (Inspect) Visit Preview Apr 20, 2024 5:39am
morphic-app ✅ Ready (Inspect) Visit Preview Apr 20, 2024 5:39am

@miurla miurla merged commit ed83398 into main Apr 20, 2024
3 checks passed
@miurla miurla deleted the specific-api branch April 20, 2024 11:51
@gandli
Copy link

gandli commented Apr 24, 2024

I can't use OpenAI. Please tell me how to configure it to only use groq?

@miurla miurla mentioned this pull request Jun 1, 2024
@miurla
Copy link
Owner Author

miurla commented Jun 1, 2024

@gandli Instead of OpenAI, it has become possible to use Gemini. #191

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants