Skip to content
/ OpenAI-Agents Public template

Repository built using the OpenAI Agents SDK and Ollama models, compatible with the OpenAI API

Notifications You must be signed in to change notification settings

BuildFrom/OpenAI-Agents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POST /api/v1/agents/command

Note:

To enable, function_tool, tool, and handoffs, you need to set official OPENAI_API_KEY

Description:

This endpoint allows you to interact with the assistant agent to process a command by providing a prompt. The assistant will generate a response based on the provided prompt.

Request Body:

A JSON object containing the prompt for the agent. The prompt should describe the task or query you want the assistant to process.

Example Request:

{
  "prompt": "Create a breakfast plan for a single day"
}

Example Response:

{
  "output": "Here’s a simple breakfast plan for a single day: 1. Scrambled eggs with toast, 2. Fresh fruit salad, 3. Coffee or juice."
}

Example Request:

{
  "prompt": "What's the weather in Tokyo?"
}

Example Response:

{
  "output": "# The weather in Tokyo is sunny."
}

Example Request:

{
  "prompt": "Hola, ¿cómo estás?"
}

Example Response:

{
  "output": "¡Hola! Estoy bien, gracias por preguntar. ¿Y tú, cómo estás?"
}

MCP Servers

Filesystem Tools:

  • read_file
  • read_multiple_files
  • write_file
  • edit_file
  • create_directory
  • list_directory
  • directory_tree
  • move_file
  • search_files
  • get_file_info
  • list_allowed_directories

PostgreSQL Tools:

  • Read only query

About

Repository built using the OpenAI Agents SDK and Ollama models, compatible with the OpenAI API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published