Made improvements in AI Agent's tool get_forecast_weather #8
@ -6,7 +6,6 @@ import openai
|
||||
from openai import OpenAIError
|
||||
from weather import time_now, get_current_weather, get_weather_forecast
|
||||
from tools_description import TOOLS
|
||||
from debug_stuff import debug
|
||||
|
||||
CALLABLE_FUNCTIONS = {
|
||||
# Dictionary with functions to call.
|
||||
|
||||
@ -2,7 +2,6 @@ from datetime import datetime, timezone
|
||||
from os import environ
|
||||
import requests
|
||||
import json
|
||||
from debug_stuff import debug
|
||||
|
||||
#WEATHER_API_KEY = environ.get('WEATHER_API_KEY')
|
||||
URL = 'http://api.weatherapi.com/v1'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user