wlchee commited on
Commit
97a5c27
·
verified ·
1 Parent(s): a4d9644

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,7 +22,7 @@ class CurrentTimeTool(Tool):
22
  super().__init__()
23
  self.name="gettime"
24
  self.description = "Fetches the current local time in a specified timezone. Input should be a timezone string like 'America/New_York'."
25
- self.inputs = {
26
  "timezone": {
27
  "type": "string",
28
  "description": "Timezone string (e.g., 'America/New_York')"
@@ -42,7 +42,7 @@ class WikipediaTool(Tool):
42
  super().__init__()
43
  self.name="searchwiki"
44
  self.description = "Searches Wikipedia for information. Input should be a search query. Optional parameter 'sentences' (default 2) controls summary length."
45
- self.inputs = {
46
  "query": {
47
  "type": "string",
48
  "description": "Search query"
 
22
  super().__init__()
23
  self.name="gettime"
24
  self.description = "Fetches the current local time in a specified timezone. Input should be a timezone string like 'America/New_York'."
25
+ self.inputs = {
26
  "timezone": {
27
  "type": "string",
28
  "description": "Timezone string (e.g., 'America/New_York')"
 
42
  super().__init__()
43
  self.name="searchwiki"
44
  self.description = "Searches Wikipedia for information. Input should be a search query. Optional parameter 'sentences' (default 2) controls summary length."
45
+ self.inputs = {
46
  "query": {
47
  "type": "string",
48
  "description": "Search query"