AgentGPT icon indicating copy to clipboard operation
AgentGPT copied to clipboard

[Request] Allow usage of a custom API endpoint

Open criskkky opened this issue 2 years ago • 1 comments

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

  • [X] I searched previous Ideas in Discussions didn't find any similar feature requests.
  • [X] I searched previous Issues didn't find any similar feature requests.

🔖 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

  • [X] My issue title is concise, descriptive, and in title casing.
  • [X] I have searched the existing issues to make sure this feature has not been requested yet.
  • [X] I have provided enough information for the maintainers to understand and evaluate this request.

criskkky avatar Aug 22 '23 11:08 criskkky

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

hqnicolas avatar Mar 31 '24 14:03 hqnicolas