Skip to content

Conversation

@xingdi-eric-yuan
Copy link
Collaborator

This is to address #249

matheper and others added 5 commits October 15, 2025 18:32
* Refactor tokenization methods to accept messages as input

* Update README.md

Co-authored-by: Marc-Alexandre Côté <marc.cote.19@gmail.com>

* Update debug_gym/llms/openai.py

Co-authored-by: Marc-Alexandre Côté <marc.cote.19@gmail.com>

* Specify base images for mini-nightmare and aider (#255)

* specify base image for mini nightmare

* switch to debug-gym:aider image

* remove default image

* passing base image

* test workspace

* formatting issues

* Simplify configs. Fix issue with overwriting entrypoints.

---------

Co-authored-by: Marc-Alexandre Côté <marc.cote.19@gmail.com>

* Support env variable in pod_spec_kwargs (#248)

* Support env variable in pod_spec_kwargs

* Ensure kubectl binaries are discoverable

Add logic to set environment variables for kubectl discovery

* update test_kubernetes

* Refactor ShellSession to split shell_command, then add ["-c", command] keeping the command string intact

* Pass Kubernetes service environment variables to support in-cluster kubectl access

* Add isort and black to development dependencies

* black and isort

* Terminal env vars (#256)

* Refactor terminal classes to allow include_os_env_vars param only for local terminal

* Removed include_os_env_vars from kubernetes terminal

* Set include_os_env_vars to True by default in LocalTerminal

* Initialize env_vars in LocalTerminal constructor to ensure it defaults to an empty dictionary.

* Removed redundant environment variable handling for in-cluster Kubernetes access

* Simply logic

* Set default base image

---------

Co-authored-by: Alessandro Sordoni <alessandro.sordoni@gmail.com>
Co-authored-by: Xingdi (Eric) Yuan <xingdi-eric-yuan@users.noreply.github.com>
Co-authored-by: Matheus Pereira <matpereira@microsoft.com>

* Move trim utils to llms

* Remove message normalization from HuggingFaceLLM

* Adjust message truncation logic and update test assertion for token counts

---------

Co-authored-by: Marc-Alexandre Côté <marc.cote.19@gmail.com>
Co-authored-by: Chinmay Singh <chsingh@microsoft.com>
Co-authored-by: Alessandro Sordoni <alessandro.sordoni@gmail.com>
Co-authored-by: Xingdi (Eric) Yuan <xingdi-eric-yuan@users.noreply.github.com>
@matheper matheper marked this pull request as ready for review October 23, 2025 20:02
@xingdi-eric-yuan xingdi-eric-yuan merged commit 2bcfa5e into main Oct 24, 2025
11 checks passed
@xingdi-eric-yuan xingdi-eric-yuan deleted the hf_llm branch October 24, 2025 18:56
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