Skip to content

Conversation

@FunMelon
Copy link
Contributor

Two parameters have been added to the configuration file, enable_thinking and thinking_budget, which need to be implemented in OpenAI's extra_body. Most Chinese API providers (moonshot, Aliyun Bailian, Baidu QianFan) follow the same set of interfaces.

Support different models to freely enable and disable thinking modes and be compatible with existing examples. I have updated the usage instructions in readme to provide detailed instructions on how to configure it.

And the CoT will be record, here are examples:
This node samples a no thinking model
image

This node samples thinking model and the reasoning is recorded, which is helpful for analysising evolution. We can see that LLM currently considers the program to be good enough and hopes to simplify the code.
image

Fix #367

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.

How about adding CoT to the prompts of Program structure and displaying it?

1 participant