Skip to content

Adding agent.eval that takes in arbitrary eldritch and executes it#916

Merged
Cictrone merged 3 commits intomainfrom
agent_library
May 1, 2025
Merged

Adding agent.eval that takes in arbitrary eldritch and executes it#916
Cictrone merged 3 commits intomainfrom
agent_library

Conversation

@Cictrone
Copy link
Copy Markdown
Collaborator

@Cictrone Cictrone commented May 1, 2025

/kind documentation
/kind feature
/kind eldritch-function

Need to write docs also :/

Idea is that the new agent module can be used for various meta-actions with the bot.

@Cictrone Cictrone requested review from KCarretto and hulto May 1, 2025 19:26
@hulto
Copy link
Copy Markdown
Collaborator

hulto commented May 1, 2025

Woah!!!! 🤯

Copy link
Copy Markdown
Collaborator

@KCarretto KCarretto left a comment

Choose a reason for hiding this comment

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

close but not quite :)

let expected_output = String::from("hi\n");
assert!(
r.text == expected_output,
"'{}' did not equal '{}'",
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: Should use want: got: style

@Cictrone Cictrone merged commit 9177892 into main May 1, 2025
4 checks passed
@Cictrone Cictrone deleted the agent_library branch May 1, 2025 22:26
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