Skip to content

Commit fb12d7d

Browse files
committed
fix: remove instruct function
1 parent bb21071 commit fb12d7d

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

src/gdllama.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ void GDLlama::_bind_methods() {
2424
ClassDB::bind_method(D_METHOD("set_model_path", "p_model_path"), &GDLlama::set_model_path);
2525
ClassDB::add_property("GDLlama", PropertyInfo(Variant::STRING, "model_path", PROPERTY_HINT_FILE), "set_model_path", "get_model_path");
2626

27-
ClassDB::bind_method(D_METHOD("get_instruct"), &GDLlama::get_instruct);
28-
ClassDB::bind_method(D_METHOD("set_instruct", "p_instruct"), &GDLlama::set_instruct);
29-
ClassDB::add_property("GDLlama", PropertyInfo(Variant::BOOL, "instruct", PROPERTY_HINT_NONE), "set_instruct", "get_instruct");
30-
3127
ClassDB::bind_method(D_METHOD("get_interactive"), &GDLlama::get_interactive);
3228
ClassDB::bind_method(D_METHOD("set_interactive", "p_interactive"), &GDLlama::set_interactive);
3329
ClassDB::add_property("GDLlama", PropertyInfo(Variant::BOOL, "interactive", PROPERTY_HINT_NONE), "set_interactive", "get_interactive");

src/gdllama.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ class GDLlama : public Node {
4545
void _exit_tree() override;
4646
String get_model_path() const;
4747
void set_model_path(const String p_model_path);
48-
bool get_instruct() const;
49-
void set_instruct(const bool p_instruct);
5048
bool get_interactive() const;
5149
void set_interactive(const bool p_interactive);
5250
String get_reverse_prompt() const;

0 commit comments

Comments
 (0)