micro--go-micro
524b14faa8
Support both OpenAI and Anthropic APIs in the agent prompt handler: - Add provider selector (OpenAI/Anthropic) to settings UI and backend - Auto-detect provider from base URL when not explicitly set - Anthropic: use /v1/messages endpoint, x-api-key header, input_schema format for tools, content blocks for responses, tool_use/tool_result message format for follow-ups - OpenAI: unchanged /v1/chat/completions with Bearer auth - Default models: gpt-4o (OpenAI), claude-sonnet-4-20250514 (Anthropic) - Provider-specific defaults for base URLs Co-authored-by: asim <17530+asim@users.noreply.github.com>