feat(agents): add prompts for explain code tool
2 unresolved threads
Agent definition for duo chat explain code tool
This MR copies this prompt to AI Gateway. When v1/agents/chat/explain_code
endpoint is requested, it'll build the prompt on AI Gateway and send it to LLM.
Related:
Perform POST v1/agents/chat/explain_code
with the following params:
{
"params": {
"language_info": "Ruby",
"file_content": "puts 'hello'",
"selected_text": "puts 'hello'",
"input": "puts 'hello'"
},
"stream": false
}
Or
ANTHROPIC_LOG=debug poetry run ai_gateway
prompt_migration_explain_code
feature flag on Rails/explain
slash command in Duo Chatv1/agents/chat/explain_code
endpoint is called