Skip to content

Fix C++ agent framework for Ubuntu/Linux and enable HTTPS - #353

Merged
kovtcharov merged 2 commits into
feature/cpp-agent-frameworkfrom
features/cpp-agent-framework-ubuntu
Feb 26, 2026
Merged

kovtcharov merged 2 commits into
feature/cpp-agent-frameworkfrom
features/cpp-agent-framework-ubuntu

Conversation

@itomek-amd

@itomek-amd itomek-amd commented Feb 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This enables the C++ implementation on Ubuntu 24.

Details

  • Replace _dupenv_s with std::getenv() in integration tests for Linux compatibility
  • Wrap Windows-only examples in WIN32 guard
  • Enable SSL by default; switch to find_package(OpenSSL QUIET) with graceful fallback — builds without libssl-dev warn instead of failing
  • Simplify STX CI OpenSSL step: use choco install only when openssl is not already in PATH; remove hardcoded OPENSSL_ROOT_DIR plumbing from configure step
  • Coerce non-string answer fields to string in parseLlmResponse to handle LLMs that return bare numbers (e.g. {"answer": 13})

Test plan

  • All 5 C++ integration tests pass on Linux (gaia_integration_tests)
  • Unit tests pass (gaia_tests)
  • CI build-and-test and install-test jobs pass on ubuntu-latest and windows-latest
  • STX integration-test job runs withouThis enables the C++ implementation on Ubuntu 24.t OPENSSL_ROOT_DIR errors
  • Cross platform testing on Windows and Ubuntu

- Replace _dupenv_s with std::getenv() in integration tests (Linux compat)
- Wrap Windows-only examples in WIN32 guard
- Enable SSL by default; use find_package(OpenSSL QUIET) with graceful
  fallback so builds without libssl-dev warn instead of failing
- Simplify STX CI OpenSSL step: use choco if not in PATH, remove
  hardcoded OPENSSL_ROOT_DIR plumbing
- Coerce non-string LLM answer fields to string in parseLlmResponse to
  handle models that return bare numbers (e.g. {"answer": 13})
@github-actions github-actions Bot added the devops DevOps/infrastructure changes label Feb 26, 2026
@itomek itomek self-assigned this Feb 26, 2026
@itomek
itomek marked this pull request as ready for review February 26, 2026 20:18
@kovtcharov
kovtcharov merged commit fd71d5c into feature/cpp-agent-framework Feb 26, 2026
2 checks passed
@kovtcharov
kovtcharov deleted the features/cpp-agent-framework-ubuntu branch February 26, 2026 22:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devops DevOps/infrastructure changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants