reworkd / AgentGPT

🤖 Assemble, configure, and deploy autonomous AI Agents in your browser.
https://agentgpt.reworkd.ai
GNU General Public License v3.0
31.72k stars 9.23k forks source link

[Request] Allow usage of a custom API endpoint #1248

Open criskkky opened 1 year ago

criskkky commented 1 year ago

⚠️ Please check that this feature request hasn't been suggested before.

🔖 Feature description

Hi, I wanted to propose an idea to enhance our interaction with the platform. Currently, we can't use a custom API here, but if we consider enabling it, we could benefit from increased flexibility in our interactions, improved efficiency through task automation, and greater control over how we obtain and process information.

✔️ Solution

I propose allow usage of a custom API endpoint within the platform. This API endpoint would allow users to define their own routes and endpoints, making integration with external tools and systems much more seamless. By providing a custom API, users could send HTTP requests to their designated endpoints and receive tailored responses to suit their needs. This would open the door to task automation, customized workflow creation, and better adaptability for various use cases.

❓ Alternatives

No response

📝 Additional Context

No response

Acknowledgements

hqnicolas commented 7 months ago

go to: folder/AgentGPT/next/ nano .env

edit the: REWORKD_PLATFORM_OPENAI_API_BASE="http://192.168.0.21:7860"

go to: folder/AgentGPT/platform/reworkd_platform/ edit settings.py

openai_api_base: str = "http://192.168.0.21:7860"

go to: AgentGPT/next/src/server/api/routers /agentRouter.ts

edit GPT-3.5-turbo to your model