Skip to content

Refactor agent API to support OpenAI message format#137

Merged
virrius merged 6 commits intomainfrom
input-context-improvements
Jan 3, 2026
Merged

Refactor agent API to support OpenAI message format#137
virrius merged 6 commits intomainfrom
input-context-improvements

Conversation

@virrius
Copy link
Copy Markdown
Member

@virrius virrius commented Jan 2, 2026

  • Support of images added

Run the example script:

```bash
python examples/research_with_messages/research_with_messages.py
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Предлагаю переименовать пример из research_with_messages во что-то типа: research_with_images - потому что это чуть более точно отображает происходящее. И во всех остальных местах тоже.

EvilFreelancer
EvilFreelancer previously approved these changes Jan 3, 2026
hijera added 3 commits January 3, 2026 18:23
- Replace ChatMessage references with ChatCompletionMessageParam
- Update ClarificationRequest to use messages array instead of clarifications string
- Update AgentStateResponse and AgentListItem to use task_messages instead of task
- Add examples with image support (URL and Base64 formats)
- Update both English and Russian documentation
Copy link
Copy Markdown
Member Author

@virrius virrius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@virrius virrius merged commit ce8e904 into main Jan 3, 2026
2 checks passed
@virrius virrius deleted the input-context-improvements branch January 3, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants